userJake_Richcancel
branchrust_reboot/main/industrial_pipe_batchingcancel

6 Commits over 0 Days - ∞cph!

3 Hours Ago
Add `print_memory_batching_detailed` command to print out memory usage of individual batches - can supply filter to filter based on material name
4 Hours Ago
Make `batch_industrial_pipes` a non-admin convar
4 Hours Ago
Add `print_memory_industrial` and `print_memory_batching` commands to show how much memory is being used by batching and industrial pipe meshes respectfully - batching will include both inactive renderers and active renderers since mesh memory is still used while the renderer is turned off
5 Days Ago
Add `batch_industrial_pipes` convar to toggle the behavior - still need to call `refresh_renderers` to refresh them after changing behavior
5 Days Ago
Add support to override the max verticies per mesh for individual RendererBatch instead of changing global convar - increase from 1k -> 5k specifically for industrial pipes to capture more than the short stubby pipes - rest of the batching system stays the same - change original solution from adding RendererBatch at runtime to adding the RendererBatch to the PipeRenderer prefab and set it disabled since we can't set the override to 5000 before OnEnabled() is called - this causes every single prefab to be reimported but is safer than cranking global convar
5 Days Ago
Add industiral pipes to the batching system to reduce draw calls significantly when rendering industiral pipes