IsChunkInViewFrustum..
XeonG opened this issue · comments
XeonG commented
just having it off shaved 2-3ms off per frame, and gained like 100fps
XeonG commented
XeonG commented
avg is like 4ms on LoadChunksSimple.Update() when idle.. (picture is with deep profile on so ms is out of whack).. but with frustum on, its around 6ms.
Richard Biely commented
Thanks to these frustum checks, it's possible to generate chunks on-demand (when they first become visible).
If you don't need the feature, turn "Use frustum culling" off on your LoadChunksSimple script.