ParallaxTest: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Undocumented shader)
 
No edit summary
Line 2: Line 2:
Alternative to the disabled [[$parallaxmap]] shader parameter.
Alternative to the disabled [[$parallaxmap]] shader parameter.
Accepts only a [[$basetexture]], of which the alpha channel is used as the heightmap.
Accepts only a [[$basetexture]], of which the alpha channel is used as the heightmap.
{{bug|The material will always be drawn [[Fullbright|unlit]].}}


{{todo|Document/test more of this shader!}}
{{todo|Document/test more of this shader!}}


[[Category:Shaders]]
[[Category:Shaders]]

Revision as of 16:58, 29 November 2018

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.

Icon-Bug.pngBug:The material will always be drawn unlit.  [todo tested in ?]
Todo: Document/test more of this shader!