skybox do not change ambient light
if I change skybox before game start by assigning reference, when game start, ambient color is changed. But if I change skybox by script, the ambient color is the same as before even if the skybox has been changed. How could I Change ambient through skybox? Do I have to do some settings by script? Thanks for reading my poor english.
Answer by RenanTKN · Feb 07, 2021 at 06:49 PM
@Tsinning I read the documentation and maybe this can help:
You can also specify when Unity updates the ambient lighting. To do this, change the Ambient Mode. The two values are:
Realtime: Unity constantly regenerates ambient lighting for your Scene. This is useful if you alter the skybox at run-time Baked: Unity only generates ambient lighting for your Scene when you click the Generate Lighting button at the bottom of the Lighting window. This is useful if your skybox does not change during run-time because it saves computational resources.
Your answer
Follow this Question
Related Questions
Ambient light working in some scenes and not others - Help!!! 2 Answers
Ambient source skybox to color problem 2 Answers
Cast shadow on ground plane with sky box / VR. 0 Answers
how do i make an object unaffected by hdri light in hdrp? 0 Answers
[Unity 5.6] Window -> Lighting -> Scene doesn't exist for me 1 Answer