title | description | ms.assetid | keywords | ms.date | ms.topic | ms.localizationpriority | |
---|---|---|---|---|---|---|---|
Lighting |
Lights are used to illuminate objects in a scene. The color of each object vertex is based on the current texture map, vertex colors, and light sources. |
AB16CF5B-47CE-455C-A8BD-36305E54BEA9 |
|
02/08/2017 |
article |
medium |
Lights are used to illuminate objects in a scene. The color of each object vertex is based on the current texture map, vertex colors, and light sources.
Note This section is only for the fixed-function pipeline. Programmable shaders perform all lighting explicitly.
Topic | Description |
---|---|
When you use Direct3D lighting, you allow Direct3D to handle the details of illumination for you. Advanced users can perform lighting on their own, if desired. |
|
The light type property defines which type of light source you're using. There are three types of lights in Direct3D - point lights, spotlights, and directional lights. |
|
Light properties describe a light source's type (point, directional, spotlight), attenuation, color, direction, position, and range. |
|
The Direct3D Light Model covers ambient, diffuse, specular, and emissive lighting. This is enough flexibility to solve a wide range of lighting situations. The total amount of light in a scene is called the global illumination. |
Direct3D Graphics Learning Guide