$texture2 lumstart

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

$texture2_lumstart & $texture2_lumend allows 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)).