Jump to content

  • Log In with Google      Sign In   
  • Create Account

Richards Software Ramblings

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

Posted by , 08 September 2013 - - - - - - · 691 views
C#, SlimDX, Direct3D 11 and 4 more...

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...






September 2013 »

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Recent Comments

Latest Visitors