branchrust_reboot/main/shader-memory-review2cancel

17 Commits over 31 Days - 0.02cph!

4 Months Ago
Cherry picked shader changes from main
4 Months Ago
Merge from main
5 Months Ago
Lazy-instantiate WorldSplineSharedData in the same way as TrainWagonLootData. Change TrainWagonLootData back to not using null-coalescing operator. Although it was perfectly fine in this case, ScriptableObjects do have the same null overriding situation as MonoBehaviours, and I'd rather not give anyone the wrong ideas.
5 Months Ago
Merge from main
5 Months Ago
Delayed some calls (RenderScale, TrainWagonLootData) until after shaders bundle is loaded to prevent shader duplication in memory
5 Months Ago
Moved all shaders to their own bundle (shared/shaders.bundle) and made it load first, before all other bundles
5 Months Ago
Added back highly simplified "Standard" and "StandardSpecular" overrides
5 Months Ago
Further reduced variants on a variety of shaders; total now down to ~0.16MB from 3.10GB (after de-duplication, coming later)
5 Months Ago
Stripped more variants on Cliff and Decal sets
5 Months Ago
Reduced variants on Cliff, Foliage and Decal shaders
5 Months Ago
Halved variants in Rust/Standard Blend Layer shader pair
5 Months Ago
Hack to get new materials (and unity's default material) to use our default shader "Rust/Standard"
5 Months Ago
Halved variants in Rust/Standard Wind shader pair
5 Months Ago
Changed all materials using Standard to Rust/Standard and nuked overrides (saved 100MB, for some reason)
5 Months Ago
Fixed build errors on BRZone shader
5 Months Ago
Fixed shiny stuff and reduced Rust/Standard variants another 23%
5 Months Ago
Cherry picked relevant changesets from /main/shader-memory-review (cleaning up)