Luminanceof

From Valve Developer Community
Revision as of 16:51, 21 January 2014 by Roye (talk | contribs)
Jump to navigation Jump to search

The luminance of the texture is calculated using this formula:

dot( texture.rgb, float3( 0.2125, 0.7154, 0.0721 ) )
Source Color Texture
Result of luminanceof()