$texture2 blendstart: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "'''$texture2_blendstart''' & '''$texture2_blendend''' allows you to adjust the blend range in Lightmapped_4WayBlend materials. A [http://en.wikipedia.org/wiki/Smoothstep sm...")
 
No edit summary
Line 1: Line 1:
'''$texture2_blendstart''' & '''$texture2_blendend''' allows you to adjust the blend range in [[Lightmapped_4WayBlend]] materials.  
'''$texture2_blendstart''', '''$texture2_blendend''', '''$texture3_blendstart''', '''$texture3_blendend''', '''$texture4_blendstart''', & '''$texture4_blendend''' allow you to adjust the blend range in [[Lightmapped_4WayBlend]] materials.  


A [http://en.wikipedia.org/wiki/Smoothstep smoothstep] operation is performed on the blend, like so: <code>smoothstep(blendstart, blendend, blend)</code>.
A [http://en.wikipedia.org/wiki/Smoothstep smoothstep] operation is performed on the blend, like so: <code>smoothstep(blendstart, blendend, blend)</code>.
[[Category:List of Shader Parameters|T]]

Revision as of 18:03, 27 January 2014

$texture2_blendstart, $texture2_blendend, $texture3_blendstart, $texture3_blendend, $texture4_blendstart, & $texture4_blendend allow you to adjust the blend range in Lightmapped_4WayBlend materials.

A smoothstep operation is performed on the blend, like so: smoothstep(blendstart, blendend, blend).