Multiple Passes

Started by
2 comments, last by Unreal 20 years, 9 months ago
Hello people of #GameDev! I was watching some humus examples.(http://esprit.campus.luth.se/~humus/) I saw that this guy do multiple passes when drawing a polygon(exept the multiple passes if we ave more than one light) he has some functions like this: Draw(), DrawAmbient(), DrawDepth(). Why he use multiple passes? Maybe to make the examples more realistic? Anyone knows any god tutorial about multiple passes?(it sounds stupid, I know) Thank you!!
Advertisement
If you deal with a lot of lights you have to make multiply passes, because the graphiccard or opengl (i''m not so sure about this) only supports 8 Lights per Pass
when you working with textureshadows, you want to draw depth to an own buffer, then draw the scene with ambient, and last the scene with light and shadows.. so you have many techniques that reqires multipass even if you have only one light
And if I want Stencil Shadows? I need this passes? Depth and ambient?

This topic is closed to new replies.

Advertisement