Best way to do shadows in opengl

Started by
1 comment, last by ic0de 12 years, 4 months ago
It would appear that there are many ways to do shadows in OpenGL, how do most games do shadows?

I'm looking for a way to do them using GLSL for multiple light sources preferably not using FBOs (I will use them if I have to).

What do you think is the best way to do shadows?
Advertisement
Well i can think of 2 atm, shadow mapping and volumetric. Shadow mapping is simpler and fastest than the other one, but work only on a single plane, while volumetric work well for more complex scene, but are more hard to make. They may be more of course.

http://en.wikipedia..../Shadow_mapping
http://en.wikipedia....i/Shadow_volume

Nehe had some good tutorial on them.

Well i can think of 2 atm, shadow mapping and volumetric. Shadow mapping is simpler and fastest than the other one, but work only on a single plane, while volumetric work well for more complex scene, but are more hard to make. They may be more of course.

http://en.wikipedia..../Shadow_mapping
http://en.wikipedia....i/Shadow_volume

Nehe had some good tutorial on them.


I think shadow volumes would be more practical in this case, thanks.biggrin.gif


This topic is closed to new replies.

Advertisement