Jump to content
  • Advertisement

Archived

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

_Damage_Inc_

OpenGL Multipass rendering in OpenGL

This topic is 6493 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!