A pretty simple question but how does far work? does it set the objects visibility to false when “out of range” ? and does it have much impact on performance , thanks
No, it does not.
far is one factor that influences the camera’s view frustum. Only objects within this frustum will be visible on screen.
To avoid rendering objects with are completely outside of the frustum and thus not visible,
three.js performs view frustum culling. This type of culling is actually easy to implement and should be part of any 3D engine since it can save quite a lot of overhead.
If you are interested in debugging this feature, start at this line: