Home > Products > Director > Support > Basics of Director 3D
Macromedia Director Support Center - Basics of Director 3D
Controlling the surface appearance of models

Download the Windows source file (3MB)
Download the Macintosh source file multitexturing.sea.hqx (3.3MB)

Download the Windows source file (296K)
Download the Macintosh source file shadertest.sea.hqx (356K)

To control the surface appearance of a 3D model, you use shaders and textures. A shader determines the color and reflectivity of a model or a section of a model: the way it behaves, or appears to behave, in response to light. You can define shaders in the 3D modeling software you're using, and you can define or modify them in Director.

Textures are bitmap images that are "wrapped" over all or part of a model. These bitmaps are usually imported, but you can also create bitmaps from scratch with Director. You can also create textures from any bitmap cast member.

Using shaders and textures gives you very precise control over a model's appearance, which is the result of the particular combination of shader(s) and texture(s) applied to that model.

The movie provided with this article demonstrates simple ways to use the shader and texture capabilities of Director 8.5.

The sample movie
Using the movie
Rendering effects
Examining the behavior scripts

Christophe Leske and Jay Armstrong

4 May 2001

shader, texture, textureList, 3D, multitexturing, diffuseLightMap, reflectionMap, glossMap, specularLightMap