|
| FAutoConsoleVariableRef | CVarVolumetricFog (TEXT("r.VolumetricFog"), GVolumetricFog, TEXT("Whether to allow the volumetric fog feature."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogInjectShadowedLightsSeparately (TEXT("r.VolumetricFog.InjectShadowedLightsSeparately"), GVolumetricFogInjectShadowedLightsSeparately, TEXT("Whether to allow the volumetric fog feature."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogDepthDistributionScale (TEXT("r.VolumetricFog.DepthDistributionScale"), GVolumetricFogDepthDistributionScale, TEXT("Scales the slice depth distribution."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogGridPixelSize (TEXT("r.VolumetricFog.GridPixelSize"), GVolumetricFogGridPixelSize, TEXT("XY Size of a cell in the voxel grid, in pixels."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogGridSizeZ (TEXT("r.VolumetricFog.GridSizeZ"), GVolumetricFogGridSizeZ, TEXT("How many Volumetric Fog cells to use in z."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogTemporalReprojection (TEXT("r.VolumetricFog.TemporalReprojection"), GVolumetricFogTemporalReprojection, TEXT("Whether to use temporal reprojection on volumetric fog."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogJitter (TEXT("r.VolumetricFog.Jitter"), GVolumetricFogJitter, TEXT("Whether to apply jitter to each frame's volumetric fog computation, achieving temporal super sampling."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogHistoryWeight (TEXT("r.VolumetricFog.HistoryWeight"), GVolumetricFogHistoryWeight, TEXT("How much the history value should be weighted each frame. This is a tradeoff between visible jittering and responsiveness."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogHistoryMissSupersampleCount (TEXT("r.VolumetricFog.HistoryMissSupersampleCount"), GVolumetricFogHistoryMissSupersampleCount, TEXT("This reduces noise when panning or on camera cuts, but introduces a variable cost to volumetric fog computation. Valid range [1, 16]."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarInverseSquaredLightDistanceBiasScale (TEXT("r.VolumetricFog.InverseSquaredLightDistanceBiasScale"), GInverseSquaredLightDistanceBiasScale, TEXT("Scales the amount added to the inverse squared falloff denominator. This effectively removes the spike from inverse squared falloff that causes extreme aliasing."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogEmissive (TEXT("r.VolumetricFog.Emissive"), GVolumetricFogEmissive, TEXT("Whether to allow the volumetric fog emissive component."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricFogConservativeDepth (TEXT("r.VolumetricFog.ConservativeDepth"), GVolumetricFogConservativeDepth, TEXT("[Experimental] Whether to allow the volumetric to use conservative depth to accelerate computations."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarVolumetricInjectRaytracedLights (TEXT("r.VolumetricFog.InjectRaytracedLights"), GVolumetricFogInjectRaytracedLights, TEXT("Whether lights with ray traced shadows are injected into volumetric fog"), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarLightScatteringSampleJitterMultiplier (TEXT("r.VolumetricFog.LightScatteringSampleJitterMultiplier"), GLightScatteringSampleJitterMultiplier, TEXT("Multiplier for random offset value used to jitter each world sample position when generating the 3D fog volume. Enable/disable with r.VolumetricFog.Jitter"), ECVF_RenderThreadSafe|ECVF_Scalability) |
| |
| int32 | GetVolumetricFogGridPixelSize () |
| |
| | IMPLEMENT_GLOBAL_SHADER_PARAMETER_STRUCT (FVolumetricFogGlobalData, "VolumetricFog") |
| |
| | DECLARE_GPU_STAT (VolumetricFog) |
| |
| FVector3f | VolumetricFogTemporalRandom (uint32 FrameNumber) |
| |
| float | GetVolumetricFogLightSoftFading () |
| |
| void | SetupVolumetricFogIntegrationParameters (FVolumetricFogIntegrationParameters &Out, FViewInfo &View, const FVolumetricFogIntegrationParameterData &IntegrationData) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FVolumetricFogMaterialSetupCS, "/Engine/Private/VolumetricFog.usf", "MaterialSetupCS", SF_Compute) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FWriteToBoundingSphereVS, "/Engine/Private/VolumetricFog.usf", "WriteToBoundingSphereVS", SF_Vertex) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FInjectShadowedLocalLightPS, "/Engine/Private/VolumetricFog.usf", "InjectShadowedLocalLightPS", SF_Pixel) |
| |
| const FProjectedShadowInfo * | GetShadowForInjectionIntoVolumetricFog (const FVisibleLightInfo &VisibleLightInfo) |
| |
| bool | LightHasRayTracedShadows (const FLightSceneInfo *LightSceneInfo, const FSceneViewFamily &ViewFamily) |
| |
| bool | LightNeedsSeparateInjectionIntoVolumetricFogForOpaqueShadow (const FViewInfo &View, const FLightSceneInfo *LightSceneInfo, const FVisibleLightInfo &VisibleLightInfo, const FScene &InScene) |
| |
| FIntPoint | CalculateVolumetricFogBoundsForLight (const FSphere &LightBounds, const FViewInfo &View, FIntVector VolumetricFogGridSize, FVector GridZParams) |
| |
| void | SetupInjectShadowedLocalLightPSO (FRHIVertexShader *VertexShader, FRHIGeometryShader *GeometryShader, FRHIPixelShader *PixelShader, FGraphicsPipelineStateInitializer &GraphicsPSOInit) |
| |
| | IMPLEMENT_GLOBAL_SHADER_PARAMETER_STRUCT (FLumenTranslucencyLightingUniforms, "LumenGIVolumeStruct") |
| |
| | IMPLEMENT_GLOBAL_SHADER (FVolumetricFogLightScatteringCS, "/Engine/Private/VolumetricFog.usf", "LightScatteringCS", SF_Compute) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FVolumetricFogFinalIntegrationCS, "/Engine/Private/VolumetricFog.usf", "FinalIntegrationCS", SF_Compute) |
| |
| bool | DoesPlatformSupportVolumetricFogVoxelization (const FStaticShaderPlatform Platform) |
| |
| bool | ShouldRenderVolumetricFog (const FScene *Scene, const FSceneViewFamily &ViewFamily) |
| |
| FVector | GetVolumetricFogGridZParams (float VolumetricFogStartDistance, float NearPlane, float FarPlane, int32 GridSizeZ) |
| |
| FIntVector | GetVolumetricFogResourceGridSize (const FViewInfo &View, int32 &OutVolumetricFogGridPixelSize) |
| |
| FIntVector | GetVolumetricFogViewGridSize (const FViewInfo &View, int32 &OutVolumetricFogGridPixelSize) |
| |
| FVector2f | GetVolumetricFogUVMaxForSampling (const FVector2f &ViewRectSize, FIntVector VolumetricFogResourceGridSize, int32 VolumetricFogResourceGridPixelSize) |
| |
| FVector2f | GetVolumetricFogPrevUVMaxForTemporalBlend (const FVector2f &ViewRectSize, FIntVector VolumetricFogResourceGridSize, int32 VolumetricFogResourceGridPixelSize) |
| |
| FVector2f | GetVolumetricFogFroxelToScreenSVPosRatio (const FViewInfo &View) |
| |
| FRDGTextureDesc | GetVolumetricFogRDGTextureDesc (const FIntVector &VolumetricFogResourceGridSize) |
| |
| void | SetupVolumetricFogGlobalData (const FViewInfo &View, FVolumetricFogGlobalData &Parameters) |
| |
| void | VolumetricFogGlobalPSOCollector (const FSceneTexturesConfig &SceneTexturesConfig, int32 GlobalPSOCollectorIndex, TArray< FPSOPrecacheData > &PSOInitializers) |
| |