Jump to content
  • Advertisement
Sign in to follow this  
L. Spiro

Terrain Lighting

This topic is 3055 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

I am currently using baked vertex lighting on my terrain, which looks decent for a single light source but is not suitable for multiple lights (I would need a whole new set of vertices for every light). I am upgrading and thinking of decent ways to shadow my terrain without shaders (no cascaded shadow maps). My ideas now are to lay one texture over the terrain for each directional light and draw the shadow/lighting onto that, using it in texture slot 0, replacing the vertex colors (if any). This would work well on iPhone devices that have no stencil buffer. Down side is that they do not cast shadows onto objects on the terrain. Second idea is to use volume shadows just for terrain, mixed with the shadow maps I use for other objects. Downside is that it will not work on iPhone below 3GS. I was wondering if anyone has tried my ideas above and if so, how did it work out? Additionally, any other ideas I should consider? Regards, Yogurt Emperor

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!