Table of contents
GDI
TOC
Collapse the table of content
Expand the table of content

Integration of Environment Mapping with Standard Diffuse Lighting

Last Updated: 2/14/2017

Standard diffuse lighting calculations for Gouraud shading of diffuse components can be performed in the geometry pipeline. However, for best realism, the specular component can be generated by cube environment mapping. When both are in operation, the FVF specified by the application should contain one vector in the position for the lighting computation, and a separate 3D texture coordinate set for use as the vector into the cube map.

Send comments about this topic to Microsoft

© 2017 Microsoft