- Home /
The parallax shader doesn't add any depth.
Hi, everyone!
Can't make the parallax shader work. This pic shows the effect I want with the blue lines(a bit less pronounced), the effect I get when I use the height parametr of the shader with the red arrows and also it shows my normal and my height map.
When I interchange the shaders I see no visual difference between the reflective parallax specular and reflective bumped specular ones. When I use the height parametr of the parallax shader it just "moves" the entire walls as the red arrows show, without any desired depth, the wall seems just as flat as it seemed when the bumped shader was used .
I tried to use the heightmap on its own(in the heightmap slot), I put it to the alpha channels of the normal and height maps saved as tiff files and the effect is the same: no visual difference between the two shaders and the height parametr moves entire wall.
So what do I do wrong and how to make the parallax shader work right?
Thanks in advance.
Answer by myjean17 · Dec 14, 2011 at 09:36 PM
Check if the "Height" slider in the material's inspector is slid up, and in the height map, check the box next to "Generate Alpha From Grayscale" and click apply.
Hope this helps!
-myjean17
Your answer
Follow this Question
Related Questions
How to force the compilation of a shader in Unity? 5 Answers
Writing Parallax Terrain shader 0 Answers
Why does specularity and dual lightmaps only work with Parallax Mapping / Rim Lighting? 0 Answers
How to use SampleGrad in Unity shader 1 Answer
Shader: is this possible? vertex colors for the blending and parallax mapping? 1 Answer