branchrust_reboot/main/global_networked_basescancel

398 Commits over 153 Days - 0.11cph!

8 Months Ago
Default multidraw to false on 2019 (for editor) as it only works in 2021 and causes nothing to render when enabled
8 Months Ago
Change tooltip for global rendering option & add tooltip for global render distance
8 Months Ago
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
8 Months Ago
Merge from main -> global_networked_bases
8 Months Ago
Cherrypick 86832 (compile fixes)
8 Months Ago
Increase initial size of mutlidraw buffer Log info instead of error when resizing since it seems to work
8 Months Ago
Cherrypick 86780 (cache meshes for multidraw)
8 Months Ago
Cherrypick 86751 & 86767 (compile & shader fixes)
8 Months Ago
Tool to list all shaders (so we know what shaders to pay attention to)
8 Months Ago
Standardize the way we detect meshes with read/write disabled
8 Months Ago
Mark instancing meshes readable
8 Months Ago
Change path of prefab converter to only prefabs to speed it up
8 Months Ago
Add `upload_multidraw_meshes_mode = 0` to control whether meshes are uploaded via the CPU or GPU default to CPU upload meshes
8 Months Ago
Mark meshes readable for instancing
8 Months Ago
Add tool to ensure every single mesh used for instancing is marked read/write enabled
8 Months Ago
Fix global entities being hidden when leaving network range
8 Months Ago
Cherrypick 86740 (ensure mesh is uploaded to GPU)
8 Months Ago
Fix twig foundation having renderers disabled in prefab
8 Months Ago
Only run StripEmptyChildren when instancing is enabled (don't believe this is the problem but better safe)
8 Months Ago
Fix server compile error
8 Months Ago
Fix junkpile_i being invisible by cancelling instancing sooner when it is disabled via config
8 Months Ago
Don't global network parented entities (to fix tugboats)
8 Months Ago
Disable instancing on ice throne chair
8 Months Ago
Zero the entire `VertexData` struct instead of only color when copying the mesh on the GPU
8 Months Ago
Reimplement `#if UNITY_2021` after implementing GPU copy of meshes
8 Months Ago
Cherrypick 86650, 86651,86655 from global_networked_bases/2021 (compile fixes & GPU copy mesh for multidraw)
8 Months Ago
More `#if UNITY_2021` checks
8 Months Ago
Bunch of `#if UNITY_2021` conditional compilation to keep it working on 2019
8 Months Ago
Merge from 2021 -> global_networked_bases
8 Months Ago
Fix demos not deleting instanced entities when changing keyframes
8 Months Ago
Cherrypick demo fix from global_networked_bases/2021/multidraw so they work in editor (and client?)
8 Months Ago
Merge from main -> global_networked_bases
9 Months Ago
Enable instanced placeholder on static sam sites Fix normal sam site missing base platform in placeholder mesh
9 Months Ago
Fix rotated building blocks not updating visual 15s cooldown when sending rotated building block globally
9 Months Ago
Rename `InstancedEntityScheduler` to `VirtualEntityScheduler`
9 Months Ago
Clear up performance text Remove instanced triangles from performance text as we don't know on CPU how many meshes will be rendered post GPU culling
9 Months Ago
Change slider range of instanced rendering from 500-1500 Default instanced rendering distance 1000m Convar still can go from 500-2500
9 Months Ago
Categorize mesh renderers based on prefab the mesh came from Add commands to toggle rendering of certain meshes: `instanced_toggle_buildings`, `instanced_toggle_cliffs`, `instanced_toggle_other` Rename `instanced_rendering` to `instanced_toggle_all`
9 Months Ago
Ensure all instancing classes have instancing namespace
9 Months Ago
Removing unused MeshAllocator instance in VirtualMeshScheduler Use the correct CellAllocator instance when computebuffer_setdata_immediate is false
9 Months Ago
Expose ability to get every virtual mesh that is visible for an entity Added Float4x4Ex to get position and rotation from a matrix easily Fix highlighting building blocks when looking at them with a hammer
9 Months Ago
Added computebuffer_setdata_immediate convar (does what the name says), defaults to true on OSX since SetData seems to have a ton of memory overhead in Unity's OSX implementation Enabled instanced rendering on OSX by default again
9 Months Ago
Fix recycled cells not rewriting their header causing them to become creater than 32 elements, overwriting other cells and breaking stuff Log error if the cell ever goes above 32 elements again
9 Months Ago
Change `RenderSlices.Length` to `RendererCount` in the PreCull job
9 Months Ago
Fix "ghost blocks" appearing due to PreCulling job not reseting slice when a mesh count goes down to 0
9 Months Ago
GPUBuffer data preservation / copy when expanding is now optional Fixed FreeNativeMemory before AllocateNativeMemory in a few subclasses Fixed a few == vs <= "better safe than sorry" cases PreCullJob now runs after LateUpdate instead of after Update so changes in LateUpdate doesn't mess things up Fixed DrawCallManager.AddDrawCall not immediately updating if it was resized Disabled by default on OSX standalone until we sort out the memory leak Fixed some issues with --normal-rendering
9 Months Ago
Fix errors that kick the player not including the serverAddress to sentry Include loglevel of error so we can see what errors kick people
9 Months Ago
Fix "list prefabs" editor button erroring Disable instancing on ladder
9 Months Ago
Merge global_networked_bases/proper_disable_command
9 Months Ago
Add `InstancingConfigComponent` to root level of component Add option via the config to disable instancing on a prefab Disable instancing on `junkpile_i` as it uses a cliff child prefab that supports instancing Also disable instancing on portal prefab