Jump to content
  • Advertisement
Sign in to follow this  
Mr Kickass

Real time reflections

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

Is it pratical to generate a cube map on each frame for each object with reflective properties, or is there another method used?

Share this post


Link to post
Share on other sites
Advertisement
the question is is it practical to generate a cubemap when a entity comes near reflective surface for only a few seconds *nobody willrealize that*

i would take the speed and the time being in the surrounding of a refective surface as a base for rendering a new cube map

if its indoor it shouldn t matter
if its outdoor *e.g.: a reflective water plane i would calculate the frensil effect (spelling?) and see if its visible at all from your view angle

Share this post


Link to post
Share on other sites
I've heard of all kinds of tricks to making realtime cubemapping faster, i.e. rendering two sides of the cubemap per frame, so the entire cube gets updated every third frame; using a lower bit depth for the cubemap (like 16-bit if you're using a 32-bit display); as Basiror said, only updating it if the camera's (or other objects are) close enough; and rendering the cubemap faces with very close clipping planes. Of course, you'll want to keep the number and size of your cubemaps down as much as possible, no matter what. See if you can use static cubemaps for some things; i.e. things that aren't that reflective and only need a little bit of reflective color.

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!