3,309 Commits over 945 Days - 0.15cph!
Set multidraw convar enabled by default (regardless of unity version to fix default value)
Add bool `IsMultidrawEnabled` and return false in 2019
Remove reflection probe from triangle container floor (making it look like stone)
Remove instancing from sandbag & stone barricades (they have skins) and from industrial combiner & splitter (left over from prototype)
Cherrypick
86942 (fix to enable multidraw by default in 2021)
Region out texture streaming fix in 2019
Cherrypick
87152 (texture streaming fix)
Fix textures of instanced materials occasionally being blurry by requesting mipmap 0 manually
C# part of brick color fix wasn't commited
Re-enable emissive on IO light material
Fix brick skin having colored tints like container skin
Cherrypick
87094 (createprefab debug revert)
Undo "CreatePrefab" debug changes accidently commited
Update global_networked_bases/2021
merge from main -> global_networked_bases
Cherrypick
87085 &
87088 (preprocess ignore monuments & tugboat door placeholder)
Fixed door placeholder being shown when leaving network range of door attached to tugboat / parented entity
Fixed instancing preprocess trying to convert monuments, throwing errors when monument prefabs are spawned
▄▄▌ ▉▇▇▋▌ ▆▅▉█ ▇▄▇ ▋▅▊▇ ▄▋▅▇▊▊▍▊▍ ▊▋█▌█ ▉▄▆▆ ▅█▅▄▋▇▊▄ █▊▄▍ ▋▉▄▍▋
Update global_networked_bases/2021
Cherrypick
87026 (--normal-rendering order change)
Merge from analytics_aug_23
Merge from main -> global_networked_bases
Merge from main -> analytics_aug_23
Increase scale of "highlight" effect so it doesn't clip into the mesh
Disable instancing when upgrade gibs effect is happening
Only send global updates to clients with instanced rendering enabled to ensure server performance is ok
Add `limit_global_update_broadcast` convar to control above behavior
Ensure everything is disabled when `--normal-rendering` is set
Add `global_network_debug` convar to control printing "took X time to send trees / global updates to player"
Update global_networked_bases/2021
Merge color_overrides -> global_networked_bases
Fix multidraw convar so it defaults false
Player controlled color for construction skin actually works now
Merge multidraw convar fix
Some fixes
Leave "random color based on position in world" to shader until we get the "color set by players" working
Default multidraw to false on 2019 (for editor) as it only works in 2021 and causes nothing to render when enabled
More work on getting colors working
Include customColor in GlobalUpdate & send update when building block color is changed
Support custom colors per mesh, effectively allowing us to override MaterialProperyBlock per mesh like old rendering system
Will fix container not being recolored by players with instancing
Change tooltip for global rendering option & add tooltip for global render distance
Add menu option to turn instanced rendering on and off (called global rendering)
Rename `building_distance` to `global_render_distance`
Add `instanced_rendering` convar that is saved but only applies at startup
Merge from main -> global_networked_bases
Cherrypick
86832 (compile fixes)
Split InstancedPrefabConverter into 2 classes
Fix compile errors
Update global_networked_bases/2021
Increase initial size of mutlidraw buffer
Log info instead of error when resizing since it seems to work
Cherrypick
86780 (cache meshes for multidraw)
Fix multidraw convar so it's enabled by default
Cache meshes so we don't copy the same one to the GPU multiple times
Add memory usage of multidraw buffer