Macaw OS C reference

Function ambient

#include <macaw3d.h>
void ambient(double level);

Sets how bright the light is everywhere in the scene, even where no light shines.

Parameters

leveldouble
0 for none, up to 1 for full brightness. It starts at 0.35.

In The scene, with render, updateworld, collisions, resetcollisions, pick, clearworld.