Author Topic: Ambient Lighting  (Read 382 times)

How does one change Ambient Lighting via a server script?

$EnvGuiServer::AmbientLightColor = "R G B 1";
Sun.ambient = $EnvGuiServer::AmbientLightColor;
Sun.sendUpdate();

$EnvGuiServer::AmbientLightColor = "R G B 1";
Sun.ambient = $EnvGuiServer::AmbientLightColor;
Sun.sendUpdate();
Not working.