Unity Custom Ambient Mode

Hello!

I would have a question related to Unity’s ‘RenderSettings.ambientMode’. After I set it to ‘UnityEngine.Rendering.AmbientMode.Custom’ where exactly does it grabs it’s ambient data from? Is it ‘RenderSettings.customReflection’? Since I’ve tried that with multiple values and the scene looks exactly the same.

Example with custom cubemap1: (overlybright table)


Example with custom cubemap2: (overlybright table yet again)

How it should look: (beautifully lit table)

Docs for ‘UnityEngine.Rendering.AmbientMode.Custom’: “Ambient lighting is defined by a custom cubemap.” And what is that cubemap? Where is it stored, if I may?

I need this in order to make the scene’s look still use the smart enlighten stuff, but make the ambient independent of the current skybox but still use a skybox.

I am needing this in order to give my artist a lot more control over art and how the ambient influences the scene.

1 Like

Nobody has any idea?

+1
interesting to know how it works

+1 Me too!

I think it has to do with the Skybox component you attach to the camera.
3244749--249570--upload_2017-10-6_3-27-17.png

I had it working and it suddenly break for apparently no reason when I entered play mode.

Now I can’t get it back and there is no way to add the custom mode manually … if ever it’s related.

Before :
3244749--249568--upload_2017-10-6_3-25-19.png

Now… it does not look as good anymore …
3244749--249569--upload_2017-10-6_3-25-40.png

Everything is really dark as well with skybox mapping

It appears to get back (though not reallt similar result) when adding a Reflection probe. It still is a mystery why it was here and why it disappeared in the first place…
3244757--249574--upload_2017-10-6_3-42-46.png

3244757--249572--upload_2017-10-6_3-41-19.png

3244757--249573--upload_2017-10-6_3-41-53.png