RwGetPolygonLightSampling(RwPolygon3d *polygon);
Description
Retrieves the light sampling type of the polygons material.
Arguments
polygon Pointer to the polygon.
Return Value
The light sampling type of the polygons material if successful, and rwNALIGHTSAMPLING otherwise.
Comments
The light sampling types are:
rwFACET Flat shading.
rwVERTEX Smooth shading.
See Also