D:bitplane wrote:The best way to do an advanced terrain is a completely custom solution that doesn't work in general cases. A custom editor, file format, custom vertex format, a node that prepares the data and shaders that render it using specially prepared data like 3D textures with manually edited mipmaps. This would be a very big job and would mean modifying Irrlicht too.
Simple terrain splatting [OpenGL]
No it's not.Pyritie wrote:Also BlindSide your image link is broken.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Ugly borders can be solved by creating own mipmaps. Hybrid already promised some interface for accessing mipmaps directly from Irrlicht will be incorporated in to some future release. Until then, only solution is to turn off mimpaps or setting texture tile offset as Nadro suggested. Both doesn't really solve problem satisfactory.
Yes there is an NVidia tool that generates mipmaps for atlas textures. Hopefully when the user mipmaps feature is implemented we will start to see some progress.
I managed to get rid of the white borders myself though by using Arras's terrain and setting all the texcoords in the range [0,1], that way I don't have to worry about "fract()" (Except for the bilinear filtering).
Heres one without the white grid:

But you can still see some artifacts far away between texture boundarys.
I managed to get rid of the white borders myself though by using Arras's terrain and setting all the texcoords in the range [0,1], that way I don't have to worry about "fract()" (Except for the bilinear filtering).
Heres one without the white grid:
But you can still see some artifacts far away between texture boundarys.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net