camera.maxZ has no effect?

Hi,

Using camera.maxZ = 1500000 won’t make any difference as to when I use a much lower value.
As for my tests, I would like to have a near infinite clipping to see really far.
Note: the shapes are big. I don’t know if that makes any difference.

Setting an even higher value will result in my shapes being clipped no matter what and appearing when moving, which is ugly.

Which makes me think that there must be another value that influences that result.

Thanks,

Can you reproduce the problem in a playground?

Ahah!
I got it:
Was:
scene.createDefaultSkybox(scene.environmentTexture, true);
now is
scene.createDefaultSkybox(scene.environmentTexture, true,150000);

and everything is fine :slight_smile:

2 Likes