Hi there,
I’m trying to add Parallax Mapping to my Material (for VR reasons) but somehow the BumpOffset function seems to rotate my texture coordinates (Images 1 to 3)
Without Normal Mapping:
With Normal Mapping:
With Parallax Mapping:
In the Parallax Mapping image the parallax mapping effect appears to be rotated buy 90 degrees (those dark strips in the lower left corner of the image which are parallel to the wooden border), which seems to be caused by the BumpOffset function. However, only certain areas of the texture are affected. The lower part and the back just look fine.
That’s how I set up the material (imagine, the wires between bump offset and the texture sample to the right are connected and the output pin of the normal add function is connected to the normal output as well):
The height map is a greyscale conversion of the diffuse map and the normal map is the respecitve result of a normal map filter.
Has anybody a clue why the BumpOffset function seems to rotate the texture coordinates? Or any other ideas?
Thanks and kind regards,
Markus