Luminanceof: Difference between revisions
Jump to navigation
Jump to search
(Added images.) |
No edit summary |
||
Line 1: | Line 1: | ||
The luminance of the texture is calculated using this formula: | The luminance of the texture is calculated using this formula: | ||
<code>dot( texture.rgb, float3( 0.2125, 0.7154, 0.0721 ) )</code> | <code>dot( texture.rgb, float3( 0.2125, 0.7154, 0.0721 ) )</code> | ||
[[File:GrimeTextureSource.jpg|thumb| | {| | ||
| [[File:GrimeTextureSource.jpg|thumb|180px|Source Color Texture]] || [[File:GrimeTextureLum.jpg|thumb|180px|Result of luminanceof()]] | |||
|} |