branchrust_reboot/main/hackweek_renderlod_collapsecancel

53 Commits over 31 Days - 0.07cph!

7 Months Ago
Fixed graphics.collapseRendererLOD getting set to false every launch
7 Months Ago
Merge from hackweek_renderlod_collapse (set the convar for this feature to false by default)
7 Months Ago
Merge from main
7 Months Ago
Fixed wooden_crate_a, wooden_crate_a_red, wooden_crate_e_red, wooden_crate_e renderers set up with multiple empty LOD states RendererLOD will no longer collapse a renderer with multiple empty states
7 Months Ago
Merge from main
7 Months Ago
Exempt most of the renderer manipulating components from being collapsed (VehicleLights, StatusLightRenderer, DamageRenderer, etc) Fixes train tunnel signal lights always showing all colours lit up
7 Months Ago
Merge from main
7 Months Ago
Revert industrial crafter to old renderer handling, just disable the collapsing on the renderer
7 Months Ago
Fix RustCamera spamming exceptions in the editor when switching from server to client mode
7 Months Ago
Fixed oven loot panels not working (incorrect compiler define) Safety check for EmissionToggle renderer collapses
7 Months Ago
Added a MapRenderer.DebugLabs convar to debug lab rendering issues in a build
7 Months Ago
Don't collapse renderers if they are part of a LightGroupAtTime
7 Months Ago
Fixed map renderers for dungeon cells (only used on xmas dungeons)
7 Months Ago
Fixed collapsed renderers never switching to their disabled state, causing slow performance degradation as players that leave monuments would never stop rendering those meshes Added a distance meter to the RendererLOD inspector to show the current camera distnace (will use in-game camera if game is running otherwise will use scene view position)
7 Months Ago
Fixed underwater labs not rendering (in theory, they don't seem to work at all in the editor?)
7 Months Ago
Fixed skull trophy error
7 Months Ago
Merge from main
7 Months Ago
Ensure collapsed renderers can still register with occlusion culling
7 Months Ago
Fixed skinnable items sometimes getting out of sync with their intended skin when their renderer is collapsed (sometimes leading to null materials) Run MaterialReplacement.Prepare as part of the collapse process, less workload during gameplay
7 Months Ago
Compile fix
7 Months Ago
Remove the Scene2Prefab components on the bbq, small refinery, furnace, large furnace and campfire prefabs in the LootPanels scene Changes made to these prefabs outside of this scene would be lost if we do a global S2P, sometimes leading to build breaking bugs
7 Months Ago
Set local scale to 1,1,1 on various wooden_crate props - used in lots of places and both child renderers were set to 0.99999994 scale on one axis, preventing collapsing. Will need a global S2P to take effect everywhere
7 Months Ago
Fixed trainyard as well
7 Months Ago
Fixed missing launch site HLOD generation
7 Months Ago
Merge from main
7 Months Ago
Fix some missing deploy guides
7 Months Ago
Fixed train tunnels not rendering properly on the map
7 Months Ago
Industrial crafter now correctly gets collapsed
7 Months Ago
Collapse process will now update an EmissionToggle on the same object as the RendererLOD to reference the newly created renderer (fixes electric furnace)
7 Months Ago
Don't collapse a RendererLOD if any renderer has children Fix some method names
7 Months Ago
Fix collapsed renderers briefly not having an assigned mesh immediately after PreProcess, fixes item skin previews not cropping properly
7 Months Ago
Compile fix
7 Months Ago
Fix coaling tower NRE (disable collapsing on light renderers for now)
7 Months Ago
Fixed skinned items missing materials when entering and exiting LOD range
7 Months Ago
Don't allow skinned mesh renderers to be collapsed
7 Months Ago
Fixed skinned beach chairs
7 Months Ago
Fixed storage adaptor
7 Months Ago
Fixed reversed search light
7 Months Ago
Fixed powered water purifier
7 Months Ago
Added DontCollapseRenderer gameobejct tag for a quick way to opt out of the collapse process Applied to industrial crafter
7 Months Ago
Fixed scale not being applied (this should also be fixed, disabling for now)
7 Months Ago
Fixed skull trophy error
7 Months Ago
Don't apply collapsing to renderers with rotated LOD transforms (we couple probably support this but disabling it easier for now)
7 Months Ago
Fixed RendererLOD collapsing disabled components (these technically don't work for lods at all and will never change their visual based on distance, so we should fix them) Enabled RendererLOD component on the vending machine
7 Months Ago
Merge from main
7 Months Ago
Compile fixes
7 Months Ago
Cleanup Added graphics.collapseRendererLOD to control new behaviour, defaults to true and game must be restarted after toggling for new setting to take effect
8 Months Ago
Support MaterialSetup component
8 Months Ago
Fixed collapse not working with skinned objects, not casting shadows
8 Months Ago
Various fixes, move to PrefabPreProcess so it gets run once per prefab