userJake_Richcancel
branchrust_reboot/main/global_networked_basescancel

377 Commits over 153 Days - 0.10cph!

11 Months Ago
Try to fix LODs disappearing when crossing barriers
11 Months Ago
Move PreProcess after the prefab gets set to 0,0,0 to allow normal localToWorld
11 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
11 Months Ago
Converted worldToLocal -> localToWorld
11 Months Ago
With matricies but still the same broken positions!
11 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
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
11 Months Ago
Fixed rotation of certain entities being incorrect Removed useless Dictionary<NetworkableId,GlobalEntityData>
11 Months Ago
Fixes for client only & server only errors
11 Months Ago
Additional build options to allow walking away from PC - Windows Client + Client Bundles - Windows Server + Server Bundles - Windows Client + Server + Bundles
11 Months Ago
Enable instanced rendering on sam sites & windmills (using static mesh instead of skinned)
11 Months Ago
Fix instanced render data not being added in `InstancedOutsideNetworkRange` mode
11 Months Ago
Enable GPU instancing on more materials
11 Months Ago
Disabled instanced mesh tracking for animated enitites to keep it simple
11 Months Ago
Converting prefabs & materials to try and get them to spawn instanced when the entity is killed
11 Months Ago
Implement switching to instanced rendering only when an entity leaves network range Also support using instanced rendering the whole time but switching from highest -> lowest LOD when entity leaves network range
11 Months Ago
Ghetto fix for doors reseting to default position when they send a network update when opened
11 Months Ago
Instanced rendering now works with animated entities (doors) Grabs new position & rotation via transform.hasChanged (needs better solution long term) Add `InstancedmeshTracker` component that tracks each moving mesh of an entity Support multiple of the same mesh per entity (when deleting & updating) Fix foundations not having all meshes deleted Send raw position of global building entities instead of network position
11 Months Ago
Better warnings when mesh renderers aren't matched up Use `GameManager.client.FindPrefab()` instead of `GameObjectRef.Get()` when disabling render components to avoid editing the real prefab
11 Months Ago
Forgot to assign skin when sending global entity to client
11 Months Ago
Fixed normal renderers not actually being disabled (broke after moving disabling to PreProcess)
11 Months Ago
Add ability to disable instanced rendering for a prefab via InstancedMeshFilter
11 Months Ago
Renamed InstancedRenderComponent to InstancedMeshFilter Material & prefab changes after enabling GPU instancing / using InstancedMeshFilter
11 Months Ago
Throw error instead of auto enabling GPU instancing (incase they don't spawn prefab while in editor and miss it)
11 Months Ago
Multiple materials will work with indirect rendering too Don't global network doors by default Send global network when entity is first spawned Automatically enable GPU instancing on materials when used with instanced rendering
11 Months Ago
Fix instanced rendering to work with multiple materials
11 Months Ago
merge from main -> global_networked_bases