void vdsRenderShadedLit (const vdsNode *node)

Draw a node's triangles shaded and lit

Documentation

Draw a node's triangles shaded and lit. Draw the triangles in node->vistris colored according to the tri->color[] field. Lighting is enabled and the diffuse component of the currently bound material is set to track the tri->color[] field.

Note: The user is still responsible for placing lights, creating and binding a material, and adjusting the lighting model.

alphabetic index hierarchy of classes