mesh .shade .mode .set  (  MeshObjectID ,  CullMode  )  
                                     
Description :

This instruction defines the shade limit of a mesh.

Parameters :

  • ObjectID of the mesh.
  • MESH_SHADENONE : No lighting is authorized on the whole mesh.
    MESH_SHADELAMBERT : Only Lambert lighting mode or no lighting at all is authorized.
    MESH_SHADE_GOURAUD : All the shading modes are authorized.

Notes :


This instruction modifies the material shade mode parameter according to the shade limit.

Examples :