Blender V5.3
gpu_shader_material_rgb_to_bw.bsl.hh File Reference

Go to the source code of this file.

Functions

void rgbtobw (float4 color, float3 luminance_coefficients, float &outval)

Function Documentation

◆ rgbtobw()

void rgbtobw ( float4 color,
float3 luminance_coefficients,
float & outval )

Definition at line 10 of file gpu_shader_material_rgb_to_bw.bsl.hh.

References dot(), and rgbtobw().

Referenced by rgbtobw().