$texture2 lumstart: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''$texture2_lumstart''' & '''$texture2_lumend''' allows you to adjust the luminance range used to modulate the blending in Lightmapped_4WayBlend materials. The luminance o...") |
No edit summary |
||
Line 1: | Line 1: | ||
'''$texture2_lumstart''' & '''$texture2_lumend''' allows you to adjust the luminance range used to modulate the blending in [[Lightmapped_4WayBlend]] materials. | '''$texture2_lumstart''' & '''$texture2_lumend''' allows you to adjust the luminance range used to modulate the blending in [[Lightmapped_4WayBlend]] materials. | ||
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>. | |||
A [http://en.wikipedia.org/wiki/Smoothstep smoothstep] operation is performed on the luminance of the texture, like so: <code>smoothstep(lumstart, lumend, |
Revision as of 20:07, 20 January 2014
$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))
.