Multipass rendering in OpenGL

Started by
1 comment, last by _Damage_Inc_ 23 years, 3 months ago
Hmm, how the heck do I do a ultipass rendering in ogl so that I can use hardware accelerated lights? eq. render the scene, change the light pos and render it again and blend the new result with the previuos etc. etc. Maybe I should ask myself if it''s possible do that first /Damage Inc.
Advertisement
it is possible to do this ( though i ask myself why would u want to )

u do need at least 2 passes

position lights
render scene
reposition lights
enable some blending state
rerender scene

http://members.xoom.com/myBollux
heh, well actually I don''t know why I want to do =P might be going for vertex lighting or lightmaps =)

/Damage Inc.

This topic is closed to new replies.

Advertisement