ParallaxTest

From Valve Developer Community
Revision as of 05:02, 4 May 2019 by NvC DmN CH (talk | contribs) (faking lightmaps workaround)
Jump to navigation Jump to search

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 ?]
Note.pngNote:There's a workaround for this bug, as fake lightmaps can be done with Modulate shader


Todo: Document/test more of this shader!