Jump to content
  • Advertisement
Sign in to follow this  
Prozak

What are CubeMaps?

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

Can anyone give me a short definition of CubeMaps and their possible uses? Thank You.

Share this post


Link to post
Share on other sites
Advertisement
Cube maps generally encapsulate 6 different textures, in a way that each one of them represents either "left", "right", "top", "bottom", "front" or "back".

You can use them in any way that is suitable to the paradigm - for example, you could render the scene from six different directions to the cube map surfaces, and use the reflection vector from the geometry to address the map for reflection mapping. Alternatively, you could encode any function to a cubemap, provided the parameter would be a normalized 3d vector (example being normalization maps).

-Nik

EDIT:A visual explanation. Theory is the same whether using DX or OGL.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!