ParallaxTest: Difference between revisions
Jump to navigation
Jump to search
Bug:The material will always be drawn unlit.
Note:There's a workaround for this bug, as lightmaps can be faked with Modulate shader
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
|||
Line 5: | Line 5: | ||
[[File:Ezgif.com-gif-maker(1).gif|thumb|450px|Successful implementation, by placing a surface using [[Modulate]] shader, to fake lightmaps ontop of the otherwise fullbright parallax mapped texture (Click image if thumbnail is not animated).]] | [[File:Ezgif.com-gif-maker(1).gif|thumb|450px|Successful implementation, by placing a surface using [[Modulate]] shader, to fake lightmaps ontop of the otherwise fullbright parallax mapped texture (Click image if thumbnail is not animated).]] | ||
{{bug|The material will always be drawn [[Fullbright|unlit]].}} | {{bug|hidetested=1|The material will always be drawn [[Fullbright|unlit]].}} | ||
{{note|There's a workaround for this bug, as lightmaps can be faked with [[Modulate]] shader}} | {{note|There's a workaround for this bug, as lightmaps can be faked with [[Modulate]] shader}} |
Revision as of 07:17, 20 May 2025
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 image if thumbnail is not animated).


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.