3 ms·
I've gone back to an approach from the mid 2000's where high level i generate the most basic draw calls (setrendertarget,clearcolour) (Draw shader+geo+uniforms)
by soylentgraham 5y ago
I've gone back to an approach from the mid 2000's where high level i generate the most basic draw calls (setrendertarget,clearcolour)
(Draw shader+geo+uniforms)
As data, which i can serialise, stream, debug, pause&tweak, generate on multiple threads, etc and then low level batch together, generate pipelines, reduce state change, whatever the renderer needs, or just pump to a gui.
Finally starting to build up little libraries of commands (generating text "draw calls", gizmos etc) which work project to project.
Not very cutting edge tech, but lots of room for lower level (or even high level) optimising (culling, front to back, transparency sorting etc)