userFelixcancel

708 Commits over 577 Days - 0.05cph!

1 Year Ago
Add terrain occlusion culling to the instanced renderer (WIP)
1 Year Ago
Fix release build
1 Year Ago
Add frustum culling to the instanced calls
1 Year Ago
Cherry pick quality_level_squash
1 Year Ago
Add texture streaming support to indirect instanced rendering
1 Year Ago
Automatically remove any meshes from the instancing system that have been destroyed by Unity for whatever reason.
1 Year Ago
Port all new fixes and refactors from InstancedDebugDraw to IndirectInstancing
1 Year Ago
Merge from quality_level_squash: Remove all quality levels but one
1 Year Ago
Remove all quality levels except one
1 Year Ago
Fix compilation due to renaming of FastDebugDraw to InstancedDebugDraw
1 Year Ago
Merge from main
1 Year Ago
Merge from vram_budget: Revamp texture streaming system
1 Year Ago
Disable texture streaming for ground_plants
1 Year Ago
Finalised texture streaming changes, removed complicated switching logic, added ground_plants atlas to exclude list
1 Year Ago
Merge from main
1 Year Ago
Merge from fast_debug_draw: More fixes
1 Year Ago
Various fixes and assertions to prevent further issues. I think we're good now. (Famous last words)
1 Year Ago
Merge from fast_debug_draw: Fix memory leak in DamageTracker
1 Year Ago
Merge from main
1 Year Ago
Fixed memory leak in DamageTracker
1 Year Ago
Merge from fast_debug_draw: Fix shaders on Mac/Metal
1 Year Ago
Merge from main
1 Year Ago
Undo accidental changes
1 Year Ago
Move #pragma instructions from .cginc back to shader file to avoid confusing Unity.
1 Year Ago
Hopefully fix shader compilation on Metal due to missing support for geometry shaders. I can't test it, because literally every other platform supports geometry shaders.
1 Year Ago
1 Year Ago
Started work on graphical texture optimisation tools (very much WIP). This will come in handy for future tuning of the texture streaming system. Especially once we get back to instancing. Hoo boy.
1 Year Ago
Enable building atlasses for mip level streaming. This might be a pandora's box, but it brings non-streaming texture memory to less than 1 GB, leaving plenty of room for streaming textures.
1 Year Ago
Change 4883 texture metadata for streaming
1 Year Ago
TextureOptimizationTools: Add function that changes only textures that should be streamable but aren't
1 Year Ago
Various fixes to the texture optimisation tools
1 Year Ago
Apply "Make All Streamable" to 8294 textures
1 Year Ago
Add option "Make All Streamable" to texture optimisation tools based on Diogo's filter functions
1 Year Ago
Force texture mipmap streaming to be always on (experiment) and set the memory budget equal to available graphics memory.
1 Year Ago
Merge from /main:
1 Year Ago
Rebase on /main
1 Year Ago
Cherry pick live fixes
1 Year Ago
Be very cautious about enabling texture streaming. Only enable it if Texture.streamingTextureLoadingCount = 0 and Texture.allowThreadedTextureCreation = false. If not, set Texture.allowThreadedTextureCreation = false and try again in 1 second. One second is enough to upload a few textures, right?
1 Year Ago
Remove checking of Texture.streamingTextureLoadingCount during TextureStreaming.Update()
1 Year Ago
Disallow threaded texture creation whenever a loading screen is displayed. This should slightly improve loading times and further mitigate texture streaming race conditions.
1 Year Ago
Replace assertion with just a warning
1 Year Ago
Cleanup access to texture streaming related variables to prevent accidentally waking up the streaming system when we don't want to. Also added some experimental assertions to make sure no textures are currently loading when texture streaming is enabled.
1 Year Ago
Make texture streaming tunables accessible via ConVars and improve output of texture.stats
1 Year Ago
Merge from fast_debug_draw: Disable instancing for text by default, due to missing support for rich text formatting tags
1 Year Ago
Regenerate console commands
1 Year Ago
Disable ddraw instancing system for text by default because the new system doesn't support rich text formatting tags just yet
1 Year Ago
Merge from main
1 Year Ago
Merge from main
1 Year Ago
Disable mip map streaming early to prevent Unity from loading textures at a lower resolution
1 Year Ago
Merge from /main