Terrain Node problem!!!! :(
I'll post some screens when I get home. The terrain looks OK only when no lightning is applied, with it it looks a bit horrible) As I don't need the scene to be real-time rendered, I will use TerrainMesh, which with 2048x2048 heightmap and lightning looks quite nice. And a question about detail mapping: it works OK with the TerrainSceneNode, but with TerrainMesh and any other mesh it is corrupted. I'll post the screens to explain it. Can't find the right words)
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
The detail mapping seems to clamp the second texture coord to the border only, all over the mesh. I fixed detail mapping with one texture coord under OpenGL for 1.4, seems I need to look into d3d also.
Is the lighted mesh also detail mapped? Then it's probably a related problem. Texture coords get overwriteen or something, also seems to use the wrong LOD. Probably the second layer is just not set up at that point.
Is the lighted mesh also detail mapped? Then it's probably a related problem. Texture coords get overwriteen or something, also seems to use the wrong LOD. Probably the second layer is just not set up at that point.