Houdini 11 VEX VEX functions

Compute the luminance of the RGB color specified by the parameters

  1. float luminance(vector )

  2. float luminance(vector4 )

  3. float luminance(float r, float g, float b)

Compute the luminance of the RGB color specified by the parameters

Contexts: all