Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Shadows on Android

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 dragostis   Members   

102
Like
0Likes
Like

Posted 12 August 2012 - 11:50 AM

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.

#2 SimonForsman   Members   

7633
Like
0Likes
Like

Posted 12 August 2012 - 01:13 PM

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)

Edited by SimonForsman, 12 August 2012 - 01:15 PM.

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!




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.