I created procedural walls using this example and applied a PBR material with a normal map.
However, it looks like only the walls facing a certain direction get affected by the normal (bump) texture like this:
If I rotate the whole structure 90 degrees, it gets reversed so the bumps are only visible on the right wall.
It’s less obvious but I think the diffuse map is also showing a similar symptom. When I rotate the mesh in a certain direction, some walls lose texture details as shown below:
I’m out of ideas as to what could have caused such a problem or how to debug the issue.
Any kind of advice would be appreciated. Thanks!