|
CARLA
|
#include "Carla/Weather/Weather.h"#include "Carla.h"#include "Carla/Game/CarlaEpisode.h"#include "Carla/Game/CarlaStatics.h"#include "Carla/Lights/CarlaLightSubsystem.h"#include "Carla/Recorder/CarlaRecorder.h"#include "Carla/Recorder/CarlaRecorderWeather.h"#include "Carla/Sensor/SceneCaptureCamera.h"#include "Carla/Weather/Sky.h"#include <util/ue-header-guard-begin.h>#include "Camera/PlayerCameraManager.h"#include "Particles/ParticleSystem.h"#include "Particles/ParticleSystemComponent.h"#include "EngineUtils.h"#include "Components/ExponentialHeightFogComponent.h"#include "Components/ChildActorComponent.h"#include "Components/MeshComponent.h"#include "Components/DirectionalLightComponent.h"#include "Components/SkyAtmosphereComponent.h"#include "Components/LightComponent.h"#include "Components/PostProcessComponent.h"#include "Components/SceneCaptureComponent2D.h"#include "Components/SkyLightComponent.h"#include "Components/StaticMeshComponent.h"#include "Components/VolumetricCloudComponent.h"#include "Curves/CurveFloat.h"#include "Engine/StaticMesh.h"#include "Engine/TextureCube.h"#include "Engine/World.h"#include "HAL/IConsoleManager.h"#include "Kismet/GameplayStatics.h"#include "Kismet/KismetMaterialLibrary.h"#include "Materials/MaterialInstanceDynamic.h"#include "Materials/MaterialParameterCollection.h"#include "Rendering/SkyAtmosphereCommonData.h"#include "UObject/ConstructorHelpers.h"#include "UObject/UnrealType.h"#include <util/ue-header-guard-end.h>Go to the source code of this file.
Functions | |
| static float | ApplyOvercastBlend (float CurveValue, float OvercastValue, float Cloudiness, bool bOnlyDarken, float CurvePeak) |
| static float | ApplySunAltitudeFalloff (float CurveValue, float CurvePeak, float SunAltitudeAngle) |
| static float | ComputeCloudDeckFactor (float Cloudiness) |
| static float | ComputeCloudDeckLightFactor (float Cloudiness) |
| static float | ComputeMoonBlend (float SunAltitudeAngle) |
| static float | ComputeMoonHaloBlend (float SunAltitudeAngle) |
| static float | ComputeNightBlend (float SunAltitudeAngle) |
| static FLinearColor | ComputeOvercastNeutralTint (const USkyAtmosphereComponent *Atmosphere, float SunAltitudeAngle, float Cloudiness, float NeutralizeAmount, float &OutIntensityScale) |
| static float | ComputeSunTwilightFactor (float SunAltitudeAngle) |
| static FLinearColor | ComputeTwilightCloudScale (float SunAltitudeAngle) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherBloomIntensity (TEXT("carla.Weather.BloomIntensity"), 1.0f, TEXT("does not set one, so the sun glows in the viewport. Negative leaves it alone."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherCityGlow (TEXT("carla.Weather.CityGlow"), 0.000002f, TEXT("Night emission of the clouds from city lights (0 off)."), ECVF_Default) |
| static TAutoConsoleVariable< FString > | CVarCarlaWeatherCityGlowColor (TEXT("carla.Weather.CityGlowColor"), TEXT("1.0 0.85 0.7"), TEXT("Colour of the city glow on the clouds, \"R G B\"."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherCloudShadowExtentKm (TEXT("carla.Weather.CloudShadowExtentKm"), 10.0f, TEXT("whatever the rig authored."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDayNightBlendDeg (TEXT("carla.Weather.DayNightBlendDeg"), 8.0f, TEXT("spread over. 0 gives a hard switch at the horizon."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDeckCoverageExponent (TEXT("carla.Weather.DeckCoverageExponent"), 2.0f, TEXT("Power applied to the deck factor for the cloud coverage (BaseNoiseExp) blend."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDeckExtinctionScale (TEXT("carla.Weather.DeckExtinctionScale"), 0.005f, TEXT("Cloud material ExtinctionScale at Cloudiness 100 (softer deck base). Negative leaves the material's."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDeckGlow (TEXT("carla.Weather.DeckGlow"), 2.0f, TEXT("Cloud emission at Cloudiness 100 with the sun at its peak (0 off)."), ECVF_Default) |
| static TAutoConsoleVariable< FString > | CVarCarlaWeatherDeckGlowColor (TEXT("carla.Weather.DeckGlowColor"), TEXT("1.0 1.0 1.0"), TEXT("Colour of the overcast deck emission, \"R G B\"."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDeckLightFullCloudiness (TEXT("carla.Weather.DeckLightFullCloudiness"), 84.0f, TEXT("Cloudiness at which the deck's emission and sky light reach their full value."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDeckNoiseExp (TEXT("carla.Weather.DeckNoiseExp"), 1.0f, TEXT("Cloud material BaseNoiseExp at Cloudiness 100 (lower = more coverage)."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDeckSkyLightIntensity (TEXT("carla.Weather.DeckSkyLightIntensity"), 1.0f, TEXT("Replaces OvercastSkyLightIntensity at Cloudiness 100 (blended by the deck factor)."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDeckStartCloudiness (TEXT("carla.Weather.DeckStartCloudiness"), 80.0f, TEXT("Cloudiness at which the clouds start closing into the overcast deck (full at 100)."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDeckWarpCount (TEXT("carla.Weather.DeckWarpCount"), 1.0f, TEXT("Cloud material domain warp count at Cloudiness 100. Negative leaves the material's."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherDeckWarpSwitch (TEXT("carla.Weather.DeckWarpSwitch"), -1.0f, TEXT("-1: blend the warp count with the deck factor. 0-1: flip it to DeckWarpCount at that deck factor."), ECVF_Default) |
| static TAutoConsoleVariable< bool > | CVarCarlaWeatherEnableOvercastClouds (TEXT("carla.Weather.EnableOvercastClouds"), false, TEXT("Billowy overcast one. Set false to always use the plain master instead."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherExposureBias (TEXT("carla.Weather.ExposureBias"), -1.0f, TEXT("Negative leaves the rig's authored value."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherExposureMaxEV (TEXT("carla.Weather.ExposureMaxEV"), -1.0f, TEXT("Above 13 nothing measurably changes."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherFogDensityScale (TEXT("carla.Weather.FogDensityScale"), 0.001f, TEXT("The shipped 0.001 caps the engine at 0.1, too thin for a heavy-rain veil."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherLightingJumpCloudiness (TEXT("carla.Weather.LightingJumpCloudiness"), 30.0f, TEXT("Cloudiness change between two weather pushes that counts as a lighting jump. 0 disables it."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherLightingJumpSettleSeconds (TEXT("carla.Weather.LightingJumpSettleSeconds"), 8.0f, TEXT("World seconds the full Lumen / sky light updates are held after a lighting jump."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherLightingJumpSunDeg (TEXT("carla.Weather.LightingJumpSunDeg"), 5.0f, TEXT("jump and forces Lumen and the sky light capture to update in full. 0 disables it."), ECVF_Default) |
| static TAutoConsoleVariable< bool > | CVarCarlaWeatherMoonAtmosphereDisk (TEXT("carla.Weather.MoonAtmosphereDisk"), false, TEXT("textured moon disc (carla.Weather.MoonDisc) replaces it."), ECVF_Default) |
| static TAutoConsoleVariable< bool > | CVarCarlaWeatherMoonDisc (TEXT("carla.Weather.MoonDisc"), true, TEXT("Draw the textured moon disc along the moon light's direction."), ECVF_Default) |
| static TAutoConsoleVariable< bool > | CVarCarlaWeatherMoonDiscAdditive (TEXT("carla.Weather.MoonDiscAdditive"), true, TEXT("clouds more exactly."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonDiscAngleDeg (TEXT("carla.Weather.MoonDiscAngleDeg"), 2.0f, TEXT("larger reads better on screen."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonDiscBrightnessEndDeg (TEXT("carla.Weather.MoonDiscBrightnessEndDeg"), -4.0f, TEXT("Sun altitude at which the moon disc reaches its night brightness."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonDiscBrightnessStartDeg (TEXT("carla.Weather.MoonDiscBrightnessStartDeg"), 2.0f, TEXT("Sun altitude at which the moon disc starts dimming from its dusk brightness."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonDiscContrast (TEXT("carla.Weather.MoonDiscContrast"), 0.7f, TEXT("Contrast of the moon texture: 1 as authored, 0 flat grey."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonDiscDistanceKm (TEXT("carla.Weather.MoonDiscDistanceKm"), 100.0f, TEXT("the clouds so they cover it. Clamped to MoonDiscSphereFraction of the sphere."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonDiscDuskBrightness (TEXT("carla.Weather.MoonDiscDuskBrightness"), 3000.0f, TEXT("night value between MoonDiscBrightnessStartDeg and MoonDiscBrightnessEndDeg."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonDiscNightBrightness (TEXT("carla.Weather.MoonDiscNightBrightness"), 40.0f, TEXT("around it, the only per-object bloom control there is."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonDiscSphereFraction (TEXT("carla.Weather.MoonDiscSphereFraction"), 0.9f, TEXT("so the sphere never draws in front of it."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonFadeStartDeg (TEXT("carla.Weather.MoonFadeStartDeg"), 10.0f, TEXT("Sun altitude, in degrees, at which the moon starts to fade in."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonFullAltitudeDeg (TEXT("carla.Weather.MoonFullAltitudeDeg"), 0.0f, TEXT("Must be below MoonFadeStartDeg; otherwise the moon switches on hard there."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonHaloEndDeg (TEXT("carla.Weather.MoonHaloEndDeg"), 0.0f, TEXT("Sun altitude at which the night Mie settings are fully applied."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonHaloMieAnisotropy (TEXT("carla.Weather.MoonHaloMieAnisotropy"), -1.0f, TEXT("leaves it as the rig sets it."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonHaloMieScale (TEXT("carla.Weather.MoonHaloMieScale"), 0.1f, TEXT("1 leaves it as the rig sets it."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonHaloStartDeg (TEXT("carla.Weather.MoonHaloStartDeg"), 3.0f, TEXT("MoonHaloMieAnisotropy) start blending in."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonIntensity (TEXT("carla.Weather.MoonIntensity"), 0.5f, TEXT("leave the rig's authored/curve-driven moon intensity untouched."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherMoonMinAltitudeDeg (TEXT("carla.Weather.MoonMinAltitudeDeg"), 20.0f, TEXT("across dusk instead of from below the horizon. 0 is the plain anti-solar point."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherNightSkylightIntensity (TEXT("carla.Weather.NightSkylightIntensity"), 10.0f, TEXT("leave the rig's curve-driven skylight intensity untouched."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherOvercastAmbientMaxGain (TEXT("carla.Weather.OvercastAmbientMaxGain"), 3.0f, TEXT("the horizon cannot turn the ambient blue."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherOvercastAmbientNeutralize (TEXT("carla.Weather.OvercastAmbientNeutralize"), 0.4f, TEXT("Cloudiness 100 (scaled by Cloudiness). 0 leaves the sky light white."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherOvercastSkyLightIntensity (TEXT("carla.Weather.OvercastSkyLightIntensity"), 10.0f, TEXT("Cloudiness and clamped so it can only brighten. Negative disables."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherOvercastSunIntensity (TEXT("carla.Weather.OvercastSunIntensity"), 1200.0f, TEXT("and clamped so it can only darken. Negative disables."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherOvercastSunNeutralize (TEXT("carla.Weather.OvercastSunNeutralize"), 0.6f, TEXT("at sunset. 0 leaves the sun white."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherOvercastThreshold (TEXT("carla.Weather.OvercastThreshold"), 90.0f, TEXT("from the plain cloud master material to the Billowy overcast one."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherRainDeckGlowScale (TEXT("carla.Weather.RainDeckGlowScale"), 0.25f, TEXT("DeckGlow multiplier at Precipitation 100 (1 = rain does not change the deck)."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherRainDeckSkyLightScale (TEXT("carla.Weather.RainDeckSkyLightScale"), 3.0f, TEXT("DeckSkyLightIntensity multiplier at Precipitation 100 (1 = rain does not change it)."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSkyLightIndirectIntensity (TEXT("carla.Weather.SkyLightIndirectIntensity"), 1.0f, TEXT("IndirectLightingIntensity forced on the sky rig's sky light. Negative leaves the rig's value."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSkySphereCloudOpacity (TEXT("carla.Weather.SkySphereCloudOpacity"), 0.0f, TEXT("asset's value."), ECVF_Default) |
| static TAutoConsoleVariable< FString > | CVarCarlaWeatherSkySphereNightColor (TEXT("carla.Weather.SkySphereNightColor"), TEXT("0.002 0.002 0.0025"), TEXT("else (e.g. \"off\") leaves the sphere's sun-driven colours."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSkySphereScale (TEXT("carla.Weather.SkySphereScale"), 10.0f, TEXT("1 leaves it as authored."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSkySphereShowDeg (TEXT("carla.Weather.SkySphereShowDeg"), -12.0f, TEXT("atmosphere."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherStarsBrightness (TEXT("carla.Weather.StarsBrightness"), 4.0f, TEXT("the only way to make the stars FAINTER than the 100 the asset ships."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherStreetLightsOnDeg (TEXT("carla.Weather.StreetLightsOnDeg"), 0.8f, TEXT("Sun altitude at or below which street lights are switched on."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSunAltitudeFalloff (TEXT("carla.Weather.SunAltitudeFalloff"), 1.0f, TEXT("curve. 1 is fully physical, 0 leaves the rig's curve alone."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSunFalloffExponent (TEXT("carla.Weather.SunFalloffExponent"), 0.01f, TEXT("keeps a low sun brighter, 0 disables the falloff."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSunHorizonFloor (TEXT("carla.Weather.SunHorizonFloor"), 0.05f, TEXT("value. 0.004 is a real horizon sun's ~400 lux against ~100000 overhead."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSunIndirectIntensity (TEXT("carla.Weather.SunIndirectIntensity"), 1.0f, TEXT("IndirectLightingIntensity forced on the sky rig's sun. Negative leaves the rig's value."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSunTwilightEndDeg (TEXT("carla.Weather.SunTwilightEndDeg"), -10.0f, TEXT("0 or above leaves the rig's hard cut at the horizon."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSunTwilightEndFraction (TEXT("carla.Weather.SunTwilightEndFraction"), 0.0001f, TEXT("the fade is log-linear in between."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherSunTwilightStartDeg (TEXT("carla.Weather.SunTwilightStartDeg"), 1.0f, TEXT("Sun altitude at which the twilight fade starts, from the sun's value there."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherTransmittanceMinElevationDeg (TEXT("carla.Weather.TransmittanceMinElevationDeg"), 0.0f, TEXT("Values above ~5 light the city as if it were day under a night sky."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherTransmittanceReleaseDeg (TEXT("carla.Weather.TransmittanceReleaseDeg"), -6.0f, TEXT("back to the engine's -90. Between 0 and this it eases off."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherTwilightCloudFullDeg (TEXT("carla.Weather.TwilightCloudFullDeg"), 2.0f, TEXT("Sun altitude at or below which carla.Weather.TwilightCloudScale applies in full."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherTwilightCloudOffDeg (TEXT("carla.Weather.TwilightCloudOffDeg"), 12.0f, TEXT("Sun altitude at or above which the clouds get the sun's full scattering again."), ECVF_Default) |
| static TAutoConsoleVariable< FString > | CVarCarlaWeatherTwilightCloudScale (TEXT("carla.Weather.TwilightCloudScale"), TEXT("0.4 0.55 0.8"), TEXT("Sun CloudScatteredLuminanceScale at the horizon, \"R G B\" (\"1 1 1\" off)."), ECVF_Default) |
| static TAutoConsoleVariable< bool > | CVarCarlaWeatherVSMInvalidateWhileSunMoves (TEXT("carla.Weather.VSMInvalidateWhileSunMoves"), true, TEXT("changes. 0 leaves it alone."), ECVF_Default) |
| static TAutoConsoleVariable< float > | CVarCarlaWeatherVSMSunStillSeconds (TEXT("carla.Weather.VSMSunStillSeconds"), 1.0f, TEXT("pushes of a moving sun, which brought the flicker back."), ECVF_Default) |
| static float | GetOvercastSkyLightTarget (float Cloudiness, float Precipitation) |
| static FRotator | GLastSunRotation (ForceInitToZero) |
| static void | NoteLightingChange (const UWorld *World, float SunAltitude, float Cloudiness) |
| static void | NoteSunRotation (const UWorld *World, const FRotator &Rotation) |
| static FLinearColor | ParseColorCVar (const TAutoConsoleVariable< FString > &CVar, const FLinearColor &Fallback) |
| static float | RainDeckScale (const TAutoConsoleVariable< float > &CVar, float Precipitation) |
| static void | ReleaseDirectionalVSMInvalidateIfSunStill (const UWorld *World) |
| static void | ReleaseLightingUpdateIfSettled (const UWorld *World) |
| static float | SampleCurvePeakAboveHorizon (UCurveFloat *Curve) |
| static void | SetForceInvalidateDirectionalVSM (bool bOn) |
| static void | SetForceLightingUpdate (bool bOn) |
| static void | UpdateMoonDisc (AActor *SkyActor, const USceneComponent *MoonLight, float MoonBlend, float SunAltitudeAngle) |
| static void | UpdateMoonHalo (AActor *SkyActor, float HaloBlend) |
Variables | |
| static bool | GForcingDirectionalVSMInvalidate = false |
| static bool | GForcingLightingUpdate = false |
| static float | GLastPushedCloudiness = TNumericLimits<float>::Max() |
| static float | GLastPushedSunAltitude = TNumericLimits<float>::Max() |
| static double | GLastSunMoveWorldSeconds = 0.0 |
| static const TCHAR * | GLightingJumpCVars [] |
| static int32 | GLightingJumpRestore [UE_ARRAY_COUNT(GLightingJumpCVars)] = {} |
| static const int32 | GLightingJumpValues [] = {1, 1, 0} |
| static double | GLightingJumpWorldSeconds = 0.0 |
|
static |
Definition at line 1073 of file Weather.cpp.
References ApplyOvercastBlend().
Referenced by ApplyOvercastBlend(), and AWeather::ApplyWeatherToSkyActor().
|
static |
Definition at line 1044 of file Weather.cpp.
References ApplySunAltitudeFalloff(), CVarCarlaWeatherSunAltitudeFalloff(), CVarCarlaWeatherSunFalloffExponent(), and CVarCarlaWeatherSunHorizonFloor().
Referenced by ApplySunAltitudeFalloff(), and AWeather::ApplyWeatherToSkyActor().
|
static |
Definition at line 605 of file Weather.cpp.
References ComputeCloudDeckFactor(), and CVarCarlaWeatherDeckStartCloudiness().
Referenced by AWeather::ApplyWeatherToSkyActor(), and ComputeCloudDeckFactor().
|
static |
Definition at line 613 of file Weather.cpp.
References ComputeCloudDeckLightFactor(), CVarCarlaWeatherDeckLightFullCloudiness(), and CVarCarlaWeatherDeckStartCloudiness().
Referenced by AWeather::ApplyWeatherToSkyActor(), ComputeCloudDeckLightFactor(), and GetOvercastSkyLightTarget().
|
static |
Definition at line 689 of file Weather.cpp.
References ComputeMoonBlend(), CVarCarlaWeatherMoonFadeStartDeg(), and CVarCarlaWeatherMoonFullAltitudeDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), and ComputeMoonBlend().
|
static |
Definition at line 700 of file Weather.cpp.
References ComputeMoonHaloBlend(), CVarCarlaWeatherMoonHaloEndDeg(), and CVarCarlaWeatherMoonHaloStartDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), and ComputeMoonHaloBlend().
|
static |
Definition at line 679 of file Weather.cpp.
References ComputeNightBlend(), and CVarCarlaWeatherDayNightBlendDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), and ComputeNightBlend().
|
static |
Definition at line 1088 of file Weather.cpp.
References ComputeOvercastNeutralTint(), CVarCarlaWeatherOvercastAmbientMaxGain(), and CVarCarlaWeatherTransmittanceReleaseDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), and ComputeOvercastNeutralTint().
|
static |
Definition at line 858 of file Weather.cpp.
References ComputeSunTwilightFactor(), CVarCarlaWeatherSunTwilightEndDeg(), CVarCarlaWeatherSunTwilightEndFraction(), and CVarCarlaWeatherSunTwilightStartDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), and ComputeSunTwilightFactor().
|
static |
Definition at line 666 of file Weather.cpp.
References ComputeTwilightCloudScale(), CVarCarlaWeatherTwilightCloudFullDeg(), CVarCarlaWeatherTwilightCloudOffDeg(), CVarCarlaWeatherTwilightCloudScale(), and ParseColorCVar().
Referenced by AWeather::ApplyWeatherToSkyActor(), and ComputeTwilightCloudScale().
|
static |
References CVarCarlaWeatherBloomIntensity().
Referenced by CVarCarlaWeatherBloomIntensity(), and AWeather::FillSkyPostProcessFallback().
|
static |
References CVarCarlaWeatherCityGlow().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherCityGlow().
|
static |
References CVarCarlaWeatherCityGlowColor().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherCityGlowColor().
|
static |
References CVarCarlaWeatherCloudShadowExtentKm().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherCloudShadowExtentKm().
|
static |
References CVarCarlaWeatherDayNightBlendDeg().
Referenced by ComputeNightBlend(), and CVarCarlaWeatherDayNightBlendDeg().
|
static |
References CVarCarlaWeatherDeckCoverageExponent().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherDeckCoverageExponent().
|
static |
References CVarCarlaWeatherDeckExtinctionScale().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherDeckExtinctionScale().
|
static |
References CVarCarlaWeatherDeckGlow().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherDeckGlow().
|
static |
References CVarCarlaWeatherDeckGlowColor().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherDeckGlowColor().
|
static |
References CVarCarlaWeatherDeckLightFullCloudiness().
Referenced by ComputeCloudDeckLightFactor(), and CVarCarlaWeatherDeckLightFullCloudiness().
|
static |
References CVarCarlaWeatherDeckNoiseExp().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherDeckNoiseExp().
|
static |
References CVarCarlaWeatherDeckSkyLightIntensity().
Referenced by CVarCarlaWeatherDeckSkyLightIntensity(), and GetOvercastSkyLightTarget().
|
static |
References CVarCarlaWeatherDeckStartCloudiness().
Referenced by ComputeCloudDeckFactor(), ComputeCloudDeckLightFactor(), and CVarCarlaWeatherDeckStartCloudiness().
|
static |
References CVarCarlaWeatherDeckWarpCount().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherDeckWarpCount().
|
static |
References CVarCarlaWeatherDeckWarpSwitch().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherDeckWarpSwitch().
|
static |
References CVarCarlaWeatherEnableOvercastClouds().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherEnableOvercastClouds().
|
static |
References CVarCarlaWeatherExposureBias().
Referenced by CVarCarlaWeatherExposureBias(), and AWeather::FillSkyPostProcessFallback().
|
static |
References CVarCarlaWeatherExposureMaxEV().
Referenced by CVarCarlaWeatherExposureMaxEV(), and AWeather::FillSkyPostProcessFallback().
|
static |
References CVarCarlaWeatherFogDensityScale().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherFogDensityScale().
|
static |
References CVarCarlaWeatherLightingJumpCloudiness().
Referenced by CVarCarlaWeatherLightingJumpCloudiness(), and NoteLightingChange().
|
static |
References CVarCarlaWeatherLightingJumpSettleSeconds().
Referenced by CVarCarlaWeatherLightingJumpSettleSeconds(), and ReleaseLightingUpdateIfSettled().
|
static |
References CVarCarlaWeatherLightingJumpSunDeg().
Referenced by CVarCarlaWeatherLightingJumpSunDeg(), and NoteLightingChange().
|
static |
References CVarCarlaWeatherMoonAtmosphereDisk().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherMoonAtmosphereDisk().
|
static |
References CVarCarlaWeatherMoonDisc().
Referenced by CVarCarlaWeatherMoonDisc(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonDiscAdditive().
Referenced by CVarCarlaWeatherMoonDiscAdditive(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonDiscAngleDeg().
Referenced by CVarCarlaWeatherMoonDiscAngleDeg(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonDiscBrightnessEndDeg().
Referenced by CVarCarlaWeatherMoonDiscBrightnessEndDeg(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonDiscBrightnessStartDeg().
Referenced by CVarCarlaWeatherMoonDiscBrightnessStartDeg(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonDiscContrast().
Referenced by CVarCarlaWeatherMoonDiscContrast(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonDiscDistanceKm().
Referenced by CVarCarlaWeatherMoonDiscDistanceKm(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonDiscDuskBrightness().
Referenced by CVarCarlaWeatherMoonDiscDuskBrightness(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonDiscNightBrightness().
Referenced by CVarCarlaWeatherMoonDiscNightBrightness(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonDiscSphereFraction().
Referenced by CVarCarlaWeatherMoonDiscSphereFraction(), and UpdateMoonDisc().
|
static |
References CVarCarlaWeatherMoonFadeStartDeg().
Referenced by ComputeMoonBlend(), and CVarCarlaWeatherMoonFadeStartDeg().
|
static |
References CVarCarlaWeatherMoonFullAltitudeDeg().
Referenced by ComputeMoonBlend(), and CVarCarlaWeatherMoonFullAltitudeDeg().
|
static |
References CVarCarlaWeatherMoonHaloEndDeg().
Referenced by ComputeMoonHaloBlend(), and CVarCarlaWeatherMoonHaloEndDeg().
|
static |
References CVarCarlaWeatherMoonHaloMieAnisotropy().
Referenced by CVarCarlaWeatherMoonHaloMieAnisotropy(), and UpdateMoonHalo().
|
static |
References CVarCarlaWeatherMoonHaloMieScale().
Referenced by CVarCarlaWeatherMoonHaloMieScale(), and UpdateMoonHalo().
|
static |
References CVarCarlaWeatherMoonHaloStartDeg().
Referenced by ComputeMoonHaloBlend(), and CVarCarlaWeatherMoonHaloStartDeg().
|
static |
References CVarCarlaWeatherMoonIntensity().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherMoonIntensity().
|
static |
References CVarCarlaWeatherMoonMinAltitudeDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherMoonMinAltitudeDeg().
|
static |
References CVarCarlaWeatherNightSkylightIntensity().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherNightSkylightIntensity().
|
static |
References CVarCarlaWeatherOvercastAmbientMaxGain().
Referenced by ComputeOvercastNeutralTint(), and CVarCarlaWeatherOvercastAmbientMaxGain().
|
static |
References CVarCarlaWeatherOvercastAmbientNeutralize().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherOvercastAmbientNeutralize().
|
static |
References CVarCarlaWeatherOvercastSkyLightIntensity().
Referenced by CVarCarlaWeatherOvercastSkyLightIntensity(), and GetOvercastSkyLightTarget().
|
static |
References CVarCarlaWeatherOvercastSunIntensity().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherOvercastSunIntensity().
|
static |
References CVarCarlaWeatherOvercastSunNeutralize().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherOvercastSunNeutralize().
|
static |
References CVarCarlaWeatherOvercastThreshold().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherOvercastThreshold().
|
static |
References CVarCarlaWeatherRainDeckGlowScale().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherRainDeckGlowScale().
|
static |
References CVarCarlaWeatherRainDeckSkyLightScale().
Referenced by CVarCarlaWeatherRainDeckSkyLightScale(), and GetOvercastSkyLightTarget().
|
static |
References CVarCarlaWeatherSkyLightIndirectIntensity().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherSkyLightIndirectIntensity().
|
static |
References CVarCarlaWeatherSkySphereCloudOpacity().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherSkySphereCloudOpacity().
|
static |
References CVarCarlaWeatherSkySphereNightColor().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherSkySphereNightColor().
|
static |
References CVarCarlaWeatherSkySphereScale().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherSkySphereScale().
|
static |
References CVarCarlaWeatherSkySphereShowDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherSkySphereShowDeg().
|
static |
References CVarCarlaWeatherStarsBrightness().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherStarsBrightness().
|
static |
|
static |
References CVarCarlaWeatherSunAltitudeFalloff().
Referenced by ApplySunAltitudeFalloff(), and CVarCarlaWeatherSunAltitudeFalloff().
|
static |
References CVarCarlaWeatherSunFalloffExponent().
Referenced by ApplySunAltitudeFalloff(), and CVarCarlaWeatherSunFalloffExponent().
|
static |
References CVarCarlaWeatherSunHorizonFloor().
Referenced by ApplySunAltitudeFalloff(), and CVarCarlaWeatherSunHorizonFloor().
|
static |
References CVarCarlaWeatherSunIndirectIntensity().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherSunIndirectIntensity().
|
static |
References CVarCarlaWeatherSunTwilightEndDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), ComputeSunTwilightFactor(), and CVarCarlaWeatherSunTwilightEndDeg().
|
static |
References CVarCarlaWeatherSunTwilightEndFraction().
Referenced by ComputeSunTwilightFactor(), and CVarCarlaWeatherSunTwilightEndFraction().
|
static |
References CVarCarlaWeatherSunTwilightStartDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), ComputeSunTwilightFactor(), and CVarCarlaWeatherSunTwilightStartDeg().
|
static |
References CVarCarlaWeatherTransmittanceMinElevationDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), and CVarCarlaWeatherTransmittanceMinElevationDeg().
|
static |
References CVarCarlaWeatherTransmittanceReleaseDeg().
Referenced by AWeather::ApplyWeatherToSkyActor(), ComputeOvercastNeutralTint(), and CVarCarlaWeatherTransmittanceReleaseDeg().
|
static |
References CVarCarlaWeatherTwilightCloudFullDeg().
Referenced by ComputeTwilightCloudScale(), and CVarCarlaWeatherTwilightCloudFullDeg().
|
static |
References CVarCarlaWeatherTwilightCloudOffDeg().
Referenced by ComputeTwilightCloudScale(), and CVarCarlaWeatherTwilightCloudOffDeg().
|
static |
References CVarCarlaWeatherTwilightCloudScale().
Referenced by ComputeTwilightCloudScale(), and CVarCarlaWeatherTwilightCloudScale().
|
static |
References CVarCarlaWeatherVSMInvalidateWhileSunMoves().
Referenced by CVarCarlaWeatherVSMInvalidateWhileSunMoves(), and NoteSunRotation().
|
static |
References CVarCarlaWeatherVSMSunStillSeconds().
Referenced by CVarCarlaWeatherVSMSunStillSeconds(), and ReleaseDirectionalVSMInvalidateIfSunStill().
|
static |
Definition at line 622 of file Weather.cpp.
References ComputeCloudDeckLightFactor(), CVarCarlaWeatherDeckSkyLightIntensity(), CVarCarlaWeatherOvercastSkyLightIntensity(), CVarCarlaWeatherRainDeckSkyLightScale(), GetOvercastSkyLightTarget(), and RainDeckScale().
Referenced by AWeather::ApplyWeatherToSkyActor(), and GetOvercastSkyLightTarget().
|
static |
References GLastSunRotation().
Referenced by GLastSunRotation(), and NoteSunRotation().
|
static |
Definition at line 831 of file Weather.cpp.
References CVarCarlaWeatherLightingJumpCloudiness(), CVarCarlaWeatherLightingJumpSunDeg(), GLastPushedCloudiness, GLastPushedSunAltitude, GLightingJumpWorldSeconds, NoteLightingChange(), and SetForceLightingUpdate().
Referenced by AWeather::ApplyWeatherToSkyActor(), and NoteLightingChange().
|
static |
Definition at line 753 of file Weather.cpp.
References CVarCarlaWeatherVSMInvalidateWhileSunMoves(), GLastSunMoveWorldSeconds, GLastSunRotation(), NoteSunRotation(), and SetForceInvalidateDirectionalVSM().
Referenced by AWeather::ApplyWeatherToSkyActor(), and NoteSunRotation().
|
static |
Definition at line 633 of file Weather.cpp.
References ParseColorCVar().
Referenced by AWeather::ApplyWeatherToSkyActor(), ComputeTwilightCloudScale(), and ParseColorCVar().
|
static |
Definition at line 598 of file Weather.cpp.
References RainDeckScale().
Referenced by AWeather::ApplyWeatherToSkyActor(), GetOvercastSkyLightTarget(), and RainDeckScale().
|
static |
Definition at line 768 of file Weather.cpp.
References CVarCarlaWeatherVSMSunStillSeconds(), GForcingDirectionalVSMInvalidate, GLastSunMoveWorldSeconds, ReleaseDirectionalVSMInvalidateIfSunStill(), and SetForceInvalidateDirectionalVSM().
Referenced by ReleaseDirectionalVSMInvalidateIfSunStill(), and AWeather::Tick().
|
static |
Definition at line 848 of file Weather.cpp.
References CVarCarlaWeatherLightingJumpSettleSeconds(), GForcingLightingUpdate, GLightingJumpWorldSeconds, ReleaseLightingUpdateIfSettled(), and SetForceLightingUpdate().
Referenced by ReleaseLightingUpdateIfSettled(), and AWeather::Tick().
|
static |
Definition at line 1063 of file Weather.cpp.
References SampleCurvePeakAboveHorizon().
Referenced by AWeather::ApplyWeatherToSkyActor(), and SampleCurvePeakAboveHorizon().
|
static |
Definition at line 740 of file Weather.cpp.
References GForcingDirectionalVSMInvalidate, and SetForceInvalidateDirectionalVSM().
Referenced by AWeather::EndPlay(), NoteSunRotation(), ReleaseDirectionalVSMInvalidateIfSunStill(), and SetForceInvalidateDirectionalVSM().
|
static |
Definition at line 814 of file Weather.cpp.
References GForcingLightingUpdate, GLightingJumpCVars, GLightingJumpRestore, GLightingJumpValues, and SetForceLightingUpdate().
Referenced by AWeather::EndPlay(), NoteLightingChange(), ReleaseLightingUpdateIfSettled(), and SetForceLightingUpdate().
|
static |
Definition at line 919 of file Weather.cpp.
References CVarCarlaWeatherMoonDisc(), CVarCarlaWeatherMoonDiscAdditive(), CVarCarlaWeatherMoonDiscAngleDeg(), CVarCarlaWeatherMoonDiscBrightnessEndDeg(), CVarCarlaWeatherMoonDiscBrightnessStartDeg(), CVarCarlaWeatherMoonDiscContrast(), CVarCarlaWeatherMoonDiscDistanceKm(), CVarCarlaWeatherMoonDiscDuskBrightness(), CVarCarlaWeatherMoonDiscNightBrightness(), CVarCarlaWeatherMoonDiscSphereFraction(), and UpdateMoonDisc().
Referenced by AWeather::ApplyWeatherToSkyActor(), and UpdateMoonDisc().
|
static |
Definition at line 878 of file Weather.cpp.
References CVarCarlaWeatherMoonHaloMieAnisotropy(), CVarCarlaWeatherMoonHaloMieScale(), and UpdateMoonHalo().
Referenced by AWeather::ApplyWeatherToSkyActor(), and UpdateMoonHalo().
|
static |
Definition at line 738 of file Weather.cpp.
Referenced by ReleaseDirectionalVSMInvalidateIfSunStill(), and SetForceInvalidateDirectionalVSM().
|
static |
Definition at line 809 of file Weather.cpp.
Referenced by ReleaseLightingUpdateIfSettled(), and SetForceLightingUpdate().
|
static |
Definition at line 812 of file Weather.cpp.
Referenced by AWeather::EndPlay(), and NoteLightingChange().
|
static |
Definition at line 811 of file Weather.cpp.
Referenced by AWeather::EndPlay(), and NoteLightingChange().
|
static |
Definition at line 737 of file Weather.cpp.
Referenced by NoteSunRotation(), and ReleaseDirectionalVSMInvalidateIfSunStill().
|
static |
Definition at line 803 of file Weather.cpp.
Referenced by SetForceLightingUpdate().
|
static |
Definition at line 808 of file Weather.cpp.
Referenced by SetForceLightingUpdate().
|
static |
Definition at line 807 of file Weather.cpp.
Referenced by SetForceLightingUpdate().
|
static |
Definition at line 810 of file Weather.cpp.
Referenced by NoteLightingChange(), and ReleaseLightingUpdateIfSettled().