Hey everyone I’m looking to learn more about occlusion culling and experiment with what performance benefits it might have. Looking for a sanity check on approaches
- Is this best done as a renderpass?
- Add new flag to render component for setting occlusion checking
- in occlusion pass, box is rendered with no material with occlusion query active
- in main renderpass, occlusion flag is checked and if true it is culled (in similar way to frustrum culling etc)
I’m also assuming it would be handy to have occlusion only objects too (which presumably would always be drawn first to guarantee occlusion).
Thanks in advance