You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Clean up atmospheric fog and have it instaciate a sky atmosphere by default instead AtmosphericFog now inherits from SkyAtmosphere and looks vaguely similar. Serialisation is handled with a serialisation enum + ue5 version. "ClassRedirects" could not be used because parameters are not compatible and also due to different serialisation on both component. So instead Skyamtosphere now has a bool bIsAtmosphericFog (false by default). AtmosphericFog component now inheriting from Skyatmosphere is setting that to true so that serialisation can be properly handled for both cases : pure Skyatmosphere or SkyAtmosphere replacing a AtmosphericFog with loading/saving. This also supports StaticLightingGUID once converted, see USkyAtmosphereComponent::Serialize. SkyAtmosphere aerial perspective is now properly gated behind the base pass vertex shader designed for that using BASEPASS_SKYATMOSPHERE_AERIALPERSPECTIVE. Removed all AtmosphericFog related render code. Renamed a bunch of shader permutation. UActorFactoryAtmosphericFog is removed so that the actor is no longer visible and instanciable from menu (existing actors in levels are still created correctly) UAtmosphericFogComponent is made notplaceable. ShooterGame compiled and ran succesfuly. Colton Daniels (QA) will upate reference screneshot in a later CL. #rb Charles.derousiers, Marc.Audy, Kevin.Ortegren #ROBOMERGE-SOURCE: CL 16455741 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v818-16446889) [CL 16455757 by sebastien hillaire in ue5-release-engine-test branch]