[ Maverik Level 1 functions ]


mav_paletteLightingModelSet

Summary

Set palette lighting model.


Syntax

void mav_paletteLightingModelSet(MAV_palette *p, float ar, float ag, float ab, float aa, int local);


Description

This function sets the lighting model for palette p. The ambient component of the light is given by (ar, ag, ab, aa). local specifies whether the viewpoint is local (local = MAV_TRUE) or inifinite (local = MAV_FALSE).


Back to the index page.