Mode = Camera.ORTHOGRAPHIC_CAMERA is clipping some part of the viewport

I Did try do change near/far aka minZ/maxZ, nothing helps.

Can someone help to understand what exactly is happening ?

small demo on youtube https://www.youtube.com/watch?v=lVShocue0xg

Hey there!

For orthographic you need to update orthoLeft, right, top and bottom

Camera | Babylon.js Documentation

Hi!
Thank you for replay, but i do set.
As you can see in the video, zoom is based on this fields.

Unfortunately without a repro I cannot really help more :frowning: minZ should be the solution :frowning:

Damnnn, this one took me some hours to find.

Lower target Y limit has no value, and i guess, it was set internally to some default value or may be not.

After setting it to 300, clipped part is now showing like expected.

1 Like