Hello - I have been noticing that I still get lag-performance-issues when through out my scene despite the camera should not be rendering heavy stuff in sight.
As such heavy stuff outside of view is still being rendered/calculated (and I have to make these things invisible - dis-enable them).
Is there or can you make a function like: ‘Not-render’ while ‘Not-in-cam-sight’?
Engine can do that automatically if you enable the Frustum Culling property in your camera:
https://developer.playcanvas.com/en/api/pc.CameraComponent.html#frustumCulling
Enable the Profiler and watch how the polygon count changes when models get visible/not visible.
1 Like
Thanks it works quite well