Changing skybox at runtime

Is it possible to change the skybox at runtime?

Basically I want to reassign the field in the Lighting menu, Scene tab, Environment Lighting, Skybox…

To a procedural skybox that I’ve loaded from Resources.

RenderSettings.skybox = (Material) Resouces.Load(“Skybox_Mat”);

1 Like

Oh, cool, it does work…

I was doing

RenderSettings.skybox = Resources.Load(“Skybox”).material;

Which looks valid but didn’t work.

:-D! Glad your issue is fixed.

Hmm, but the reflected colors on my objects don’t change with it.

Oh, but they do if I add a real time reflection probe… no worries then.