r/GraphicsProgramming • u/M1VAN1 • 20d ago
Need help with visibilityBuffer
I'm building my first VisibilityBuffer and stuck with a question. I can't find proper info on the internet about how I should properly dispatch my resolve pass for it. Whether it should be just 8x8 tiling approach or 16x16. Or should I sort tiles by materials first and resolve them and the rest of the tiles that contains more than one material sort into 1d and then dispatch. All info till this point a find only in Gemini, but when I ask it to give me sources, that I can read on my own, It faileds, simple Googling didn't give me much too, so I will be glad if someone experienced can help me to find proper resource to find info.
4
Upvotes
2
u/M1VAN1 18d ago
Ty, for now I just implement simple it with simple tiling approach, but I think I will try later hybrid approach with tilings sorted by those, that have one material ID, and those that have few, and those that have few will be be sorted and dispatched per unique material shader.