Chapter 11

Cube Mapping

In this chapter, we study cube maps, which are basically arrays of six textures interpreted in a special way. With cube mapping, we can easily texture a sky or model reflections.

The Cube Map demo file for this chapter is located in the download files.

Objectives:

image    To learn what cube maps are and how to sample them in HLSL code.

image    To discover how to create cube maps with the DirectX Texture Tool.

image    To find out how we ...

Get Introduction to 3D Game Programming with DirectX 10 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.