No access to any way of changing ambient lighting?

So I am currently making a day night cycle for my open world game only to get to the part where i was working on some lighting for day and night. and found that I couldn’t access the normal environmental lighting settings.

image

I have tried all 3 of them, and I couldn’t find a way to dynamically change what the scene was using for ambient light

Skybox Does not update dynamically at runtime
Gradient cant be updated with udon logic

Same with Color.

I also tried to use a per frame cube map and that also did nothing :\

Now i would find it ridiculous if i had to go and write my own set of shaders for the entire thing and thats very time consuming so i was wondering if there was any other way to do this in worlds or if its just strictly forbidden for some strange reason?

I believe that i have found a sutible workaround that allow me to do this, For anybody who has this problem in the future. Two directional lights facing opposite of each other on are 45 degree angle difference

You then need to set their Render Modes to Not Important. I dont think shaders are even considered in that render mode but i may be wrong so i have them turned off anyway.

thats how i got around this restriction. hope this helps somebody in the future

Depending on what you want to do, a performant baked light solution here may be to use light data with shadow maps in materials?

For baked solutions the lighting can be done normaly in unity. My problem was that i couldnt change that value after the map was compiled leading to rediculously dark shadows during thr day or not enough darkness at night time (for my game spasificaly)

You should be able to update (or at least change) the Skybox Material.
You should also be able to update the Color.

There’s a prefab and a tutorial by iconoclass over here:

That does exist but I wanted to avoid realtime GI for performance of android as well as i think i am trying to pull off two Completely different atmospheres in different times in the same instance of a game for example.

This is full night in the game that i am making


Compared to Day


This sheer brightness difference was not posible inside just keeping the default world lighting static. making it to bright made night time way to visible and making it to dark made shadows unrealisticly dark.