Sign in to follow this  
L. Spiro

Terrain Lighting

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this