Hi there,
I am trying to use the ParallaxOffset function to calculate parallax but it gives strange results. Any special thing to do to make parallax working with surface shaders ?
The issue appears when I rotate my object, which destroys the parallax offset effect.
half h = tex2D (_ParallaxMap, IN.uv_BumpMap).w;
float2 offset = ParallaxOffset (h, _Parallax, IN.viewDir);
Thanks a lot