- Home /
This question was
closed Mar 30, 2016 at 12:23 PM by
sacee for the following reason:
The default skybox uses the Skybox/Procedual shader where the colors can be influenced over the values "_SkyTint" and "_GroundColor" instead of "_Tint".
Changing skybox material color: Material doesnt have a color property _Tint
Hi guys,
i try to change the tint color of the default skybox material using a slider. In my script, I try to access it like this:
Color c = RenderSettings.skybox.GetColor ("_Tint");
c.b = sceneColorSliderBlue.value;
RenderSettings.skybox.SetColor ("_Tint", c);
But it throws me this exception: Material doesn't have a color property "_Tint".
I already read all the related questions in forums, but they all seem to solve it exactly like this.
Thanks for reading!
Comment