O'Reilly logo

Microsoft XNA 4.0 Game Development Cookbook by Luke Drumm

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building skyboxes within the Reach profile

What would a world, virtual or otherwise, be without a sky?

In this section, we'll be adding a sky to our scene with the rather simplistic method of wrapping the world in a box, and "painting" the inside of the box to make it look like the world around us, as demonstrated in the following screenshot:

Building skyboxes within the Reach profile

Getting ready

This recipe requires a skybox texture, as shown in the following:

Getting ready

The exact orientation and position of the panels for each direction isn't important, although you will need to adjust the coordinates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required