Other than that, the color of the skybox is controlled by “Tint Color” in the skybox material. So you can control that color from your script somehow (how exactly is up to you).
For example, this script attached to any game object will make skybox intensity randomly change a bit 20 times a second. Does not look very good, but that’s only an example
function Start() {
Flicker();
}
function Flicker() {
while( true ) {
var val = Random.Range(0.45,0.55);
RenderSettings.skybox.SetColor( "_Tint", Color( val, val, val, val ) );
yield WaitForSeconds(0.05); // wait 1/20th of a second
}
}
RenderSettings.skybox.color nor RenderSettings.skybox.SetColor seem to have any effect. Is this a bug?
Or is their another way to change the skybox color?