Parallax - colormap texture does not line up with normalmap
-
freegadgets
- Posts: 10
- Joined: Sat Dec 04, 2004 6:37 pm
- Location: Canada
Parallax - colormap texture does not line up with normalmap
I just took the demo that comes with Irrlicht and changed the room to an obj model I made. The color map is correct but the normal map seems to repeat many times in both directions. The obj model only has one set of texture coordinates, so where is the normal map getting its texture coordinates from, and how can I make them the same as the color coordinates?
-
freegadgets
- Posts: 10
- Joined: Sat Dec 04, 2004 6:37 pm
- Location: Canada
Have a look
I'm using the same stone wall texture and height map as the demo, both load in successfully. I thought the normal map was repeating, just really small, but after a closer look, it seems to be made from random data. So this error probably has nothing to do with texture coordinates.

At the top of the screenshot you can see the parallaxed polygon close up. Below that is the same material seen from a distance. The parallaxing and per pixel lighting are working but the normal map is messed up...

At the top of the screenshot you can see the parallaxed polygon close up. Below that is the same material seen from a distance. The parallaxing and per pixel lighting are working but the normal map is messed up...
-
freegadgets
- Posts: 10
- Joined: Sat Dec 04, 2004 6:37 pm
- Location: Canada