Macaw OS C reference

Function gpu_lightoff

#include <macawgpu.h>
void gpu_lightoff(int n);

Switches one light off.

Parameters

nint
Which light, from 0 to 7.

In Textures, light and fog, with gpu_bindtexture, gpu_light, gpu_ambient, gpu_shademodel, gpu_material, gpu_fog, gpu_pointsize, gpu_stats.