$texture1 lumstart

From Valve Developer Community
Revision as of 17:41, 27 January 2014 by Roye (talk | contribs) (Created page with "'''$texture1_lumstart''', '''$texture1_lumend''', '''$texture2_lumstart''', '''$texture2_lumend''', '''$texture3_lumstart''', '''$texture3_lumend''', '''$texture4_lumstart''', an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$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.

A smoothstep operation is performed on the luminance of the texture, like so: smoothstep(lumstart, lumend, luminanceof(texture)).