Jump to content

  • Log In with Google      Sign In   
  • Create Account






Skyboxes and Environmental Reflections using Cube Maps in Direct3D 11 and SlimDX

Posted by ericrrichards22, 08 September 2013 · 291 views

C# SlimDX Direct3D 11 Environment maps Cube Maps Reflections Skybox

This time, we are going to take a look at a special class of texture, the cube map, and a couple of the common applications for cube maps, skyboxes and environment-mapped reflections. Skyboxes allow us to model far away details, like the sky or distant scenery, to create a sense that the world is more expansive than just our scene geometry, in an inexpensive way. Environment-mapped reflections allow us to model reflections on surfaces that are irregular or curved, rather than on flat, planar surfaces as in our Mirror Demo.


The code for this example is adapted from the first part of Chapter 17 of Frank Luna’s Introduction to 3D Game Programming with Direct3D 11.0. You can download the full source for this example from my GitHub repository, https://github.com/ericrrichards/dx11.git, under the CubeMap project.


Posted Image


Read More...





August 2014 »

S M T W T F S
      1 2
3456789
10111213141516
17181920212223
24252627282930
31      

Latest Visitors

PARTNERS