userJake_Richcancel
branchrust_reboot/main/cpu_batching_instancedcancel
41 Days Ago
Commiting prototype instanced rendering that piggybacks off normal CPU batching system - hooks into normal batching system - uses normal occlusion culling system - instead of adding meshes to CPU batching, pushes meshes into arrays to be instanced rendered - uses Graphics.RenderMeshInstanced() which is slower due to copying to GPU every frame - currently same rendering speed as CPU based system, however can be optimized with multidraw & command buffers - convar `batching_instanced_mode` switches between CPU rendering and instanced rendering (to compare)