My project uses a lot of foliage, and my occlusion queries are high because it’s taking all of my foliage into account when running occlusion queries. This is despite the fact that “Use as Occluder” is set to OFF. To repro:
- Generate some foliage objects.
- Place some static meshes behind them.
- Ensure “Use As Occluder” is set to OFF in the foliage mesh’s settings.
- Move the camera behind the foliage.
- Enter r.VisualizeOccludedPrimitives 1 at the console
- Observe that Foliage is still occluding static meshes.