LizzyFox-code / BrgContainer

The Unity BRG Container
MIT License
63 stars 6 forks source link

Occlusion culling not working #12

Closed wearplugins closed 2 months ago

wearplugins commented 2 months ago

image

I have hexagonal map with ~400k hexagons (1000 tile per container). I create BatchRendererContainers with Bounds

var bounds = new Bounds(new Vector3(0, 0, 0), new Vector3(100.0f, 100.0f, 100.0f)); _brgContainer = new BatchRendererGroupContainer(bounds);

Bat culling not working.

LizzyFox-code commented 2 months ago

Hi! Please check culling result in the Frame Debugger.

wearplugins commented 2 months ago

image

It seems that the occlusion still works, but in the scene editor are drawn all the tiles. Productivity in the build is much better than in the editor.