Make scene color have higher z-index

Is there a way to make the scene.color have higher z-index than everything else in the scene? For example in this playground, the sphere should not be shown. I am trying to fade out the scene.color so that it slowly loads into the scene.

https://playground.babylonjs.com/#BH23ZD#210

You can add additional layer and control it’s color and opacity.

1 Like

Something like that - https://playground.babylonjs.com/#BH23ZD#212

1 Like

Thanks that worked :slight_smile:

1 Like

You may also dispose this layer after it fulfilled its purpose - https://playground.babylonjs.com/#BH23ZD#213

1 Like