When I set a sky box, there is a shadow in it, have you met this before?

I set the size to 10000, there appeared a shadow in the box, I tried in the playground, it also appeared, here is the image:

You can try it in this link https://www.babylonjs-playground.com/#L76FB1#49 Just change the size of sky box to 10000, and scale the any dimension, you’ll see this scene.

That’s because you reached the camera far plane (camera.maxZ), which is 10000 by default.

Increase the far plane or decrease the sky dimension.

1 Like

Thank you very much, it really works!