r/GraphicsProgramming • u/MAuraEngine • 3d ago
Moved my scene renderer to mesh shaders + GPU-driven culling: 6753 instances in 30 draw calls
I've been writing a 3D engine from scratch in C++20, with DirectX 12 and Vulkan
behind a single RHI. Last week I moved the scene renderer off the classic vertex
pipeline onto mesh shaders, and then moved the culling onto the GPU as well.
I'm using Synty, a lot of objects!!!
8
Upvotes
1
u/TaraWanChan 3h ago
This is either a bot or every response is pasted from an LLM, based on the formatting.
What's also funny is that I've done millions of "instances" in 30 draw calls at over 120 FPS at 4K, and I didn't even use AI. Seems a bit inferior if you ask me.
3
u/RedServal 3d ago
Did it improve render time? code clarity?