Simple way of fading in and out once with a click

I am looking for a way to fade in and out a scene with fading speed as 2 seconds. I have created a playground and the fade in works:

However in my original scene I have a dome and few models that do not fade in. Is there a better way to fade in the camera itself instead of fading in the scene? Can somebody edit in the playground as an easier way to fade in and out?

I will recommend to use a postprocess for that
https://www.babylonjs-playground.com/#2FGYE8#5

1 Like