Archived

This topic is now archived and is closed to further replies.

Unreal

Multiple Passes

Recommended Posts

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!!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites