calculateLuminance
Returns the luminance of a color as a float between 0.0
and 1.0
.
Defined as the Y component in the XYZ representation of color
.
Returns the luminance of a color as a float between 0.0
and 1.0
.
Defined as the Y component in the XYZ representation of color
.