Sets the ambient light color. x
, y
and z
attributes are used as R, G and B. Normally ranges between 0
and 1
.
vector3 green(0,1,0); SetAmbientLight(green);
vector3 completelyDark(0,0,0); SetAmbientLight(completelyDark);
vector3 fullBrightness(1,1,1); SetAmbientLight(fullBrightness);