Environment texture intensity

Hi,

https://www.babylonjs-playground.com/#FEEK7G#37

It has environmentTexture.
But it makes ball visible even without light. (Desired result is black-looking ball)
Changing environmentTexture’s level to 0 only disable reflection. Ball is seen yet.
How can i make it looks black?
(I wanna simulate day and night)

pbr.environmentIntensity = 0;

https://www.babylonjs-playground.com/#FEEK7G#43

2 Likes

Thank you!