Description :
This instruction sets the shade mode of a material.
Parameters :
-
ObjectID of the material.
-
MATERIAL_SHADENONE : The polygons are not affected by lights.
MATERIAL_SHADELAMABERT : Lighting is uniform across the whole polygon.
MATERIAL_SHADEGOURAUD : Lighting is performed for each vertex of the polygons, and interpolated across the surface of each polygon.
Examples :
|