branchrust_reboot/main/global_networked_basescancel

398 Commits over 153 Days - 0.11cph!

10 Months Ago
Merge from main -> global_networked_bases
10 Months Ago
Disabled redundant disabled reflection probes on a bunch of building blocks
10 Months Ago
Add debug message when a prefab with a disabled reflection gameobject is found (to quickly find prefabs)
10 Months Ago
Remove disabled reflection probe renderers from left & right conditional walls
10 Months Ago
Frustum culling fixed & works based off max render range
10 Months Ago
Fix NativeArray.Add() expanding array size every time Expand RenderData & ComputeBuffer Frustum culling entire grids before rendering to test
10 Months Ago
Merge from main
10 Months Ago
Lots of fixes make the grid based rendering minimally functional again
10 Months Ago
Add `Instancing` namespace Start implementing storing meshes into grids to enforce max render distance & frustum culling effeciently
10 Months Ago
Reduce from 6 to 2 frustum planes
10 Months Ago
Fix twig foundations not showing Cull shadows at shadow distance Make a separate monobehavior to call into InstancedEntityScheduler - due to PreProcess is being called before the InstancedEntityScheduler was spawned
10 Months Ago
Fix unity "startIndex" with DrawMeshInstancedIndirect() not working Implement custom shader property "_InstancedIndexOffset" to fix it Add `test_instanced_culling` command to spawn in 50k-200k random prefabs Fix race condition in culling job by uncommenting original threadsafe increment Add placeholder sorting of input data to see if sorting significantly speeds up culling job Culling job now runs across multiple threads via job system Disable ParallelForRestriction in culling job
10 Months Ago
Remove redundant reflection probe renderer from wall prefabs
10 Months Ago
Do distance culling before frusum culling Measure culling job execution time
10 Months Ago
Bunch of small fixes FINALLY rendering in the correct place again because I had to use a separate computebuffer for each DrawMeshInstancedindirect() call?
10 Months Ago
More fixes
10 Months Ago
Wrote again to have single array to make job system happy Input: large unsorted NativeArray of every meshes Cull and sort them in the job system Render each mesh from a large compute buffer of the output Not rendering in exactly the right place but need to checkpoint
10 Months Ago
Progress of rewriting MeshRenderers to use a single NativeArray for every mesh instead of a separate NativeArray for each type of mesh
10 Months Ago
Convert jobs to use NativeArray instead of List Add InstancedMeshFilter to workbenches & window embrasures
10 Months Ago
Try to fix LODs disappearing when crossing barriers
10 Months Ago
Move PreProcess after the prefab gets set to 0,0,0 to allow normal localToWorld
10 Months Ago
Add `Transform.LocalPrefabToRoot()` extension method to calculate localToWorld regardless of prefab's world position Remove hack of setting prefabs to 0,0,0 before we PreProcessed them when isolating problems Ensure LODs are ordered when processing them
10 Months Ago
Converted worldToLocal -> localToWorld
10 Months Ago
With matricies but still the same broken positions!
10 Months Ago
Got it "working" again Job system runs on main thread til we figure out NativeList Fix building blocks & prefabs not registering Warmup prefabs in the editor manually based on network updates
11 Months Ago
Rewrote the code that determines what conditional model(s) to show based on grade, skin & modelState Fixed prefabs that are no longer SingletonComponents
11 Months Ago
Clean up `InstancedMeshConverter` and register `InstancedPrefabConfig` out of `PrefabPreProcess` as well
11 Months Ago
Implemented skeleton of a job based frustum culling & lod culling system
11 Months Ago
Properly extract building grades & conditional models via PrefabPreProcess into code based configs
11 Months Ago
Update all building block prefabs with InstancedMeshFilter
11 Months Ago
Tool to auto convert all building blocks with one button click (and 30 minutes of waiting as unity saves them one by one)
11 Months Ago
Update editor tool to convert prefabs to InstancedMeshFilter
11 Months Ago
Beginning of massive refactor to support all entities & all types of world prefabs
11 Months Ago
Show instanced renderers, meshes, triangles & verticies drawn per frame with `perf 7`
11 Months Ago
Changed `global_networking` to a startup parameter that enabled/disables instanced rendering completely
11 Months Ago
Disable global rendering on barricade prefabs Add "global_rendering" convar to disable renderers using the lowest LOD Fix instanced rendering outside of network range defaulting to the highest LOD instead of lowest LOD
11 Months Ago
Compile fix
11 Months Ago
Add InstancedRenderScheduler & InstancedEntityScheduler prefabs to bundles/prefabs/world so they always spawn
11 Months Ago
Trying to profile an error that turned out to be corrupted asset bundles
11 Months Ago
merge from main -> global_networked_bases
11 Months Ago
Fix "Native Collection not disposed" error (forgot to dispose a NativeArray) Fix compilation error on client
11 Months Ago
Refactor `InstancedEntityRenderScheduler` into `InstancedEntityScheduler` and `InstancedRenderScheduler` First cleanup of code
11 Months Ago
All instanced rendering commands restricted to admins
11 Months Ago
Fix windmill scale being wrong as we weren't taking the full scale of individual MeshRenderers into account
11 Months Ago
Fixed so instanced rendering will show for entities not in network range Small refactor
11 Months Ago
Fixed shipping_container_skin material missing randomization tint map
11 Months Ago
Disable instanced rendering on concrete barricade & sandbag (they have skins)
11 Months Ago
Remove old "windmill_main" model from windmill
11 Months Ago
Enable GPU instancing on windmill material Use total scale of mesh instead of only localScale of renderer gameobject
11 Months Ago
merge from main -> global_networked_bases