Chapter 19. Modifying Shaders, Textures, and Lights

Coloring Models

Shaders are used to color or texture the surface of a 3D model. A shader can be a definition of how the surface reacts to light, such as by reflecting a certain color. Or, a shader can use a bitmap texture to place an image on the surface of the model.

The simplest type of shader is one that simply colors in a model. The color of a surface is determined by both the shader assigned to it and the light being shone on it. We’ll focus on lights later in this chapter. For now, we’ll consider coloring surfaces using default white ambient and directional ...

Get Special Edition Using® Macromedia® Director® MX 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.