Jump to content
  • Advertisement
Sign in to follow this  
MrSparkle

Rendering to CubeMaps

This topic is 4363 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

Hi, what is an efficient way to render a scene environment to a CubeMap? I need precomputed CubeMaps for objects with environment mapping. I heard that single-pass render-to-CubeMap is announced with DirectX10, but what would be a good approach with DirectX9? To render a CubeMap you have to render the scene 6 times, wouldn't it be a good idea to render two planes (up and down) with a 180 degree field of view instead?

Share this post


Link to post
Share on other sites
Advertisement
Both approaches are possible, but not without limitations. The second is called Dual Paraboloid Mapping, you can read up on it here: http://www.gamedev.net/reference/articles/article2308.asp

Share this post


Link to post
Share on other sites
Thanks, this article is really interesting. For CubeMaps, I only found this posting in a russian forum: http://bbs.vbstreets.ru/viewtopic.php?t=26208&sid=0049902575e28170a69046def0cf344c ;)


Has anybody ever thought about rendering all 6 CubeMap faces in a single pass (or two passes) using Multiple Render Targets?

Share this post


Link to post
Share on other sites
Sign in to follow this  

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