Archived

This topic is now archived and is closed to further replies.

terrain shading

This topic is 6392 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How to organize terrain shading? (I intend shadows from static objects on the ground (trees, buildings)and I use one big image as terrain texture) Mixing shadows into terrain texture will not allow destructible objects. Using lightmaps for whole terrain will require a lot of memory and disk space. Anybody has experience with that? Any ideas? Thanks Vladimir

Share this post


Link to post
Share on other sites
I don''t know how you organize your terrain data, but a soloution for your problem would be using quadtrees. There are several rendering methods out there that use quadtrees. With the help of quadtrees you can use smaller textures and therefore smaller lightmaps for the terrain. Have a look at http://www.vterrain.org for more information about this topic.

Joscha

Share this post


Link to post
Share on other sites
You mean, use low res textures on far distances?
Or compress lighting information using quadtree and extract lightmaps on the fly?
My terrain contain many vegetations and other static objects
so lighting will be very uneven and I afraid it can''t be
compresed good enough. However idea sounds interesting.
Thanks

Share this post


Link to post
Share on other sites