Sign in to follow this  

Shadows on Android

This topic is 1983 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've designed a framework for Android games running on OpenGL ES 2.0 with per-pixel lighting, several lights, keyframe animation etc., an now I'm wondering how to implement shadows. I've seen how stencil shadows work with volumes and silhouettes, but I was thinking of a better implementation on mobile phones. Because the volumes have to be calculated on the CPU, this would severely affect the performance on some mobile devices. So I was thinking of a solution to making real-time shadows on the GPU. Sadly, I've no lead for this. Can anyone give me hint/helping hand with the shadows? Anything would be greatly appreciated and I will be more than happy to somehow repay the help I get.

Share this post


Link to post
Share on other sites
shadowmaps
[url="http://blog.shayanjaved.com/2011/05/20/android-opengl-es-2-0-shadow-mapping/"]http://blog.shayanja...shadow-mapping/[/url]

Another option is to create the shadowvolumes once and then transform the volumes using the vertex shader. (This eliminates the cpu load) Edited by SimonForsman

Share this post


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