Sign in to follow this  
Prozak

What are CubeMaps?

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this