Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
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

Opengl shadows

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
2 replies to this topic

#1 Azrael   Members   

128
Like
Likes
Like

Posted 27 June 2001 - 09:06 AM

How do you do Softened shadows in opengl? Edited by - Azrael on June 27, 2001 4:45:00 PM

#2 Dave Astle   Distinguished Rhino   

2312
Like
Likes
Like

Posted 27 June 2001 - 12:01 PM

I only have time for a brief reply, so if this isn''t enough to get you going, I''ll check back later if someone else hasn''t helped.

Every real-time shadow generation I can think of creates hard shadows as is, but you can modify any of them to create soft shadows. You just have to generate the shadow several times, slightly jittering the light source around its location each time, and then blend the results. You can experiment to see how many times you need to jitter, but obviously as you increase the number, your framerate will drop.

#3 zedzeek   Members   

528
Like
Likes
Like

Posted 27 June 2001 - 12:58 PM

i do sort of myopic rhino saiz though i only generate the shadow once + blur it afterwards. of course theres quite a performance hit with this.

http://members.xoom.com/myBollux




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.