[ 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). local specifies whether the viewpoint is local (local = MAV_LOCAL) or inifinite (local = MAV_INFINITE_VIEWER).


Back to the index page.