$texture1 lumstart: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "'''$texture1_lumstart''', '''$texture1_lumend''', '''$texture2_lumstart''', '''$texture2_lumend''', '''$texture3_lumstart''', '''$texture3_lumend''', '''$texture4_lumstart''', an...")
 
(Merge with Lightmapped_4WayBlend)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''$texture1_lumstart''', '''$texture1_lumend''', '''$texture2_lumstart''', '''$texture2_lumend''', '''$texture3_lumstart''', '''$texture3_lumend''', '''$texture4_lumstart''', and '''$texture4_lumend''' allow you to adjust the luminance range used to modulate the blending in [[Lightmapped_4WayBlend]] materials.
#REDIRECT [[Lightmapped_4WayBlend]]
 
A [http://en.wikipedia.org/wiki/Smoothstep smoothstep] operation is performed on the luminance of the texture, like so: <code>smoothstep(lumstart, lumend, [[luminanceof]](texture))</code>.

Latest revision as of 14:30, 11 July 2018