- Majority of the buildings are there
as it is - Others are enabled/disabled at
runtime. - All buildings have been marked
static
When I started out, I had a camera view distance of 100 and maybe 10 buildings. I was getting smooth FPS on mobile. Now, I added around 50 buildings, still fine. But I went up to a 100 buildings, and I faced a major drop in FPS. I don’t understand how this happens, because I have occlusion culling going on, and the view distance is still the same. So effectively I am rendering only 10 buildings at runtime, but still a huge drop in FPS from before.
P.S. I even made the camera top down, so I had now only 2-3 buildings in scene, plus only 30 batches. But still no change.
Any help is appreciated.