3 ms·
Frostbite does GPU culling. This presentation is a really good explaination of their approach. It relies heavily on the ballot instruction to do parallel pref
by Impossible 9y ago
Frostbite does GPU culling. This presentation is a really good explaination of their approach. It relies heavily on the ballot instruction to do parallel prefix sum in a compute shader and multidraw indirect to procedurally issue draw calls based on compute shader results.
https://www.slideshare.net/mobile/gwihlidal/optimizing-the-graphics-pipeline-with-compute-gdc-2016 https://www.slideshare.net/mobile/gwihlidal/optimizing-the-g...
If you're interested in actual procedural generation and placement on the GPU Guerilla Games gave a great talk about doing this in Horizon Zero Dawn. https://www.guerrilla-games.com/read/gpu-based-procedural-placement-in-horizon-zero-dawn https://www.guerrilla-games.com/read/gpu-based-procedural-pl....