Does anybody know how to get the LightingSettings from a given Scene?
For example,
I load a scene Additively.
At the start of this, I tween the Lighting’s fog’s EndDistance down to 0.
Once it’s loaded, I want to tween the lighting and fog up to the desired level of the new LightingSettings (before actually setting this new scene to be the active one.
I can’t for the life of me figure out how to get a reference to an additively loaded scene’s lighting settings, only whatever the current one is.
Okay perhaps I was getting my things confused, Fog is under the Environment (RenderSettings) now, not the Lighting Settings. So I’m still stuck with the same problem of not being able to reference other scenes RenderSettings. And this appears to be a problem going back years.
I’d like to know how to do this, too. None of those threads ever got answers.
Specifically, this seems to be the most effective way to manipulate the skybox in the Scene view in the editor. We have a dynamically created scene that we use for editor changes that we don’t want persisted to Perforce. Skybox in RenderSettings is one of them.