ParallaxTest: Difference between revisions
Jump to navigation
Jump to search
Note:There's a workaround for this bug, as lightmaps can be faked with Modulate shader
mNo edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
The texture scale in hammer seems to correspond to the depth of the parallax effect. Higher scale -> deeper parallax. | The texture scale in hammer seems to correspond to the depth of the parallax effect. Higher scale -> deeper parallax. | ||
Models with this material will rendered invisible. | |||
[[Category:Shaders]] | [[Category:Shaders]] |
Revision as of 14:25, 16 March 2021
ParallaxTest
is an unfinished shader since (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.

Successful implementation, by placing a surface using Modulate shader, to fake lightmaps ontop of the otherwise fullbright parallax mapped texture. Click to see animated preview.

Todo: Document/test more of this shader!
The texture scale in hammer seems to correspond to the depth of the parallax effect. Higher scale -> deeper parallax. Models with this material will rendered invisible.