Materials (Windows CE 5.0)

Send Feedback

Materials describe how polygons reflect light or appear to emit light in a 3-D scene. Essentially, a material is a set of properties that tell Microsoft® Direct3D® Mobile the following things about the polygons it is rendering:

  • How they reflect ambient and diffuse light
  • What their specular highlights look like
  • Whether the polygons appear to emit light

Direct3D Mobile applications written in C++ use the D3DMMATERIAL structure to describe material properties. For more information, see Material Properties.

Note   If your application does not specify material properties for rendering, the system uses a default material. The default material reflects all diffuse light — white, for example — with no ambient or specular reflection.

The following topics provide additional information on materials.

See Also

Direct3D Mobile Resources

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.