How i can change Fog settings in realtime

I would like to change fog settings while game is running but I cant find in docs where I should call update to apply new settings
I do smth like this _app.renderer.fogDensityId.value=1 but it didn’t work becouse I have to make update like in materials

Hi @pblhelka,

The fog settings live in the active scene object, so for example updating the fog density:

this.app.scene.fogDensity = 0.03;

You can find the API here: