Shadows on Android

Started by
0 comments, last by SimonForsman 11 years, 8 months ago
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.
Advertisement
shadowmaps
http://blog.shayanja...shadow-mapping/

Another option is to create the shadowvolumes once and then transform the volumes using the vertex shader. (This eliminates the cpu load)
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

This topic is closed to new replies.

Advertisement