2

I've been starting to look into parallax mapping, mostly to recreate some video game materials for a potential animation. I've managed to get it to work when the mesh is in its default orientation, but the effect completely breaks when I rotate the mesh in any way. Is there a way to rotate the "incoming" vector to always match the mesh rotation, or even the face rotation if possible?

The (simplified) shader node setup
I removed some nodes that didn't contribute to the actual logic of the parallax mapping, to make it easier for other people to easily recreate it

The mesh geometry in Edit Mode

The mesh with the material applied (how it's intended to be seen)

The same mesh, but rotated 90° on the X axis

0 Answers0