Luminanceof: Difference between revisions
Jump to navigation
Jump to search
(Created page with "The luminance of the texture is calculated using this formula: <code>dot( texture.rgb, float3( 0.2125, 0.7154, 0.0721 ) )</code> The result is a value from 0.0 to 1.0.") |
(Added images.) |
||
Line 2: | Line 2: | ||
<code>dot( texture.rgb, float3( 0.2125, 0.7154, 0.0721 ) )</code> | <code>dot( texture.rgb, float3( 0.2125, 0.7154, 0.0721 ) )</code> | ||
The result is a value from 0.0 to 1.0. | The result is a value from 0.0 to 1.0. | ||
[[File:GrimeTextureSource.jpg|thumb|center|200px|Source Color Texture]][[File:GrimeTextureLum.jpg|thumb|center|200px|Result of luminanceof()]] |