Rendering sky boxes with Terragen

There are many ways to create the cube map for a sky box. You can draw them by hand, render them from a 3D modeling program or the game itself, or, like we are going to do right now, render them with an environment modeling program such as Terragen. Terragen is a free program (unless you want to use it commercially, in which case you will need to pay $99) that renders terrain, water, and skies. We can specify the camera angles to render from in order to render the images for the six sides of our cube map.

The first step is to download and install Terragen. Download "Terragen Classic" from, install it, and launch the program. Before we render our environment, we need to set a few settings. ...

Get 3D Graphics with XNA Game Studio 4.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.