$texture2 lumstart: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Redirected page to $texture1 lumstart)
Line 1: Line 1:
'''$texture2_lumstart''' & '''$texture2_lumend''' allows you to adjust the luminance range used to modulate the blending in [[Lightmapped_4WayBlend]] materials.
#REDIRECT [[$texture1_lumstart]]
 
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>.

Revision as of 17:43, 27 January 2014

Redirect to: