Opengl shadows
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.
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.
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
http://members.xoom.com/myBollux
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement