Difference between revisions of "ParallaxTest"

From Valve Developer Community
Jump to: navigation, search
(faking lightmaps workaround)
Line 4: Line 4:
  
 
{{bug|The material will always be drawn [[Fullbright|unlit]].}}
 
{{bug|The material will always be drawn [[Fullbright|unlit]].}}
 +
 +
{{note|There's a workaround for this bug, as fake lightmaps can be done with [[Modulate]] shader}}
 +
  
 
{{todo|Document/test more of this shader!}}
 
{{todo|Document/test more of this shader!}}
 +
 +
  
 
[[Category:Shaders]]
 
[[Category:Shaders]]

Revision as of 12:02, 4 May 2019

ParallaxTest is an unfinished shader since <Alien Swarm> (although not available in SDK 2013) which draws parallax mapping on an albedo. Alternative to the disabled $parallaxmap shader parameter. Accepts only a $basetexture, of which the alpha channel is used as the heightmap.

Bug: The material will always be drawn unlit.
Note:There's a workaround for this bug, as fake lightmaps can be done with Modulate shader


To do: Document/test more of this shader!