$lumblendfactor2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "'''$lumblendfactor2''', '''$lumblendfactor3''', & '''$lumblendfactor4''' allow you to choose which luminance value to use for blending in Lightmapped_4WayBlend materials. T...")
 
(Redirected page to Lightmapped 4WayBlend)
 
Line 1: Line 1:
'''$lumblendfactor2''', '''$lumblendfactor3''', & '''$lumblendfactor4''' allow you to choose which luminance value to use for blending in [[Lightmapped_4WayBlend]] materials.
#REDIRECT [[Lightmapped_4WayBlend]]
 
This is choosing between the luminance of the given layer and the inverse of the blended luminance of the layers below it using a lerp.
 
lerp( 1 - blended_lum_of_layers_below, lum_of_current_layer, lumblendfactor )
 
[[Category:List of Shader Parameters|L]]

Latest revision as of 14:47, 11 July 2018