Closed markkuhar closed 3 years ago
Have you tried using the SpatialHash culling instead of Simple? The Simple version checks all nodes every frame. Hash breaks them into hashed blocks (think of a large grid where nodes are placed into squares, and the square is invalidated when outside the viewport). so it compares fewer nodes. For larger number of nodes, it might help.
Either way, 500k is a lot of nodes to compare. If you can avoid doing the culling every frame, it would definitely help.
Thanks!
Hi,
when running examples with higher number of culled squares (> 500k) performance drops. Since, with culling, GPU should only render visible elements I am wondering why it comes to these performance drops? Shouldn't performance drops correlate with number of visible elements rather than culled elements? Is this an issue or I am missing something?
Thanks in advance!
Testing code: