RenderWare V2.1

Previous Page Index Next Page

RwLightSampling

RwGetMaterialLightSampling(RwMaterial *material);

Description

Retrieves the material’s light sampling type.

Arguments

material Pointer to the material.

Return Value

The material’s light sampling type if successful, and rwNALIGHTSAMPLING otherwise.

Comments

The light sampling types are:

• rwFACET Flat shading.

• rwVERTEX Smooth shading.

See Also

RwGetMaterialGeometrySampling()

RwGetPolygonLightSampling()

RwSetMaterialLightSampling()