Platform SDK: DirectX

Using Texture Coordinate Processing

[C++]

The following are some ways you might use texture coordinate processing to achieve special texturing effects, expressed with pseudo-code.

Animating textures (by translation or rotation) on a model:

Creating texture coordinates as a linear function of a model's camera-space position:

Performing environment mapping with a cubic environment map:

Performing projective texturing:

[Visual Basic]

The following are some ways you might use texture coordinate processing to achieve special texturing effects, expressed with pseudo-code.

Animating textures (by translation or rotation) on a model:

Creating texture coordinates as a linear function of a model's camera-space position:

Performing environment mapping with a cubic environment map:

Performing projective texturing: