|
| | DECLARE_GPU_STAT_NAMED (TranslucentLighting, TEXT("Translucent Lighting")) |
| |
| FAutoConsoleVariableRef | CVarTranslucencyLightingVolumes (TEXT("r.TranslucencyLightingVolume"), GUseTranslucencyLightingVolumes, TEXT("0:off, otherwise on, default is 1"), ECVF_RenderThreadSafe|ECVF_Scalability) |
| |
| FAutoConsoleVariableRef | CVarTranslucencyLightingVolumeBlur (TEXT("r.TranslucencyLightingVolume.Blur"), GTranslucencyLightingVolumeBlur, TEXT("0:off, otherwise on, default is 1"), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| FAutoConsoleVariableRef | CVarTranslucencyLightingVolumeDim (TEXT("r.TranslucencyLightingVolume.Dim"), GTranslucencyLightingVolumeDim, TEXT("Dimensions of the volume textures used for translucency lighting. Larger textures result in higher resolution but lower performance."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| |
| float | GetTranslucencyLightingVolumePositionOffsetRadius () |
| |
| int32 | GetTranslucencyLightingVolumeDim () |
| |
| | IMPLEMENT_STATIC_UNIFORM_BUFFER_STRUCT (FTranslucencyDepthPassUniformParameters, "TranslucentDepthPass", SceneTextures) |
| |
| void | SetupTranslucencyDepthPassUniformBuffer (const FProjectedShadowInfo *ShadowInfo, FRDGBuilder &GraphBuilder, const FViewInfo &View, FTranslucencyDepthPassUniformParameters &TranslucencyDepthPassParameters) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TTranslucencyShadowDepthVS< TranslucencyShadowDepth_PerspectiveCorrect >, TEXT("/Engine/Private/TranslucentShadowDepthShaders.usf"), TEXT("MainVS"), SF_Vertex) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TTranslucencyShadowDepthVS< TranslucencyShadowDepth_Standard >, TEXT("/Engine/Private/TranslucentShadowDepthShaders.usf"), TEXT("MainVS"), SF_Vertex) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TTranslucencyShadowDepthPS< TranslucencyShadowDepth_PerspectiveCorrect >, TEXT("/Engine/Private/TranslucentShadowDepthShaders.usf"), TEXT("MainOpacityPS"), SF_Pixel) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TTranslucencyShadowDepthPS< TranslucencyShadowDepth_Standard >, TEXT("/Engine/Private/TranslucentShadowDepthShaders.usf"), TEXT("MainOpacityPS"), SF_Pixel) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FGatherMarkedVoxelsCS, "/Engine/Private/TranslucentLightingShaders.usf", "GatherMarkedVoxelsCS", SF_Compute) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FInitIndirectArgsCS, "/Engine/Private/TranslucentLightingShaders.usf", "InitIndirectArgsCS", SF_Compute) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FFilterTranslucentVolumeCS, "/Engine/Private/TranslucentLightingShaders.usf", "FilterTranslucentVolumeCS", SF_Compute) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (, FTranslucentLightingInjectPS, TEXT("/Engine/Private/TranslucentLightInjectionShaders.usf"), TEXT("InjectMainPS"), SF_Pixel) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FTranslucentLightingInjectBatchCS, "/Engine/Private/TranslucentLightInjectionShaders.usf", "InjectBatchMainCS", SF_Compute) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FClearTranslucentLightingVolumeCS, "/Engine/Private/TranslucentLightInjectionShaders.usf", "ClearTranslucentLightingVolumeCS", SF_Compute) |
| |
| FTranslucencyLightingVolumeParameters | GetTranslucencyLightingVolumeParameters (FRDGBuilder &GraphBuilder, const FTranslucencyLightingVolumeTextures &Textures, const FViewInfo &View) |
| |
| bool | IsTranslucencyLightingVolumeUsingVoxelMarkingSupported () |
| |
| bool | IsTranslucencyLightingVolumeUsingVoxelMarking () |
| |
| bool | IsTranslucencyLightingVolumeUsingBlueNoise () |
| |
| | IMPLEMENT_GLOBAL_SHADER (FInjectAmbientCubemapPS, "/Engine/Private/TranslucentLightingShaders.usf", "InjectAmbientCubemapMainPS", SF_Pixel) |
| |
| void | InjectTranslucencyLightingVolumeAmbientCubemap (FRDGBuilder &GraphBuilder, const TArrayView< const FViewInfo > Views, const FTranslucencyLightingVolumeTextures &Textures) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FInjectMegaLightsCS, "/Engine/Private/TranslucentLightInjectionShaders.usf", "InjectMegaLightsCS", SF_Compute) |
| |
| void | InjectTranslucencyLightingVolumeMegaLights (FRDGBuilder &GraphBuilder, const TArrayView< const FViewInfo > Views, const FTranslucencyLightingVolumeTextures &Textures) |
| |
| FVolumeBounds | CalculateLightVolumeBounds (const FSphere &LightBounds, const FViewInfo &View, uint32 VolumeCascadeIndex, bool bDirectionalLight) |
| |
| void | InjectTranslucencyLightingVolume (FRDGBuilder &GraphBuilder, const FViewInfo &View, const uint32 ViewIndex, const FScene *Scene, const FSceneRenderer &Renderer, const FTranslucentLightInjectionCollector &Collector, FTranslucencyLightingVolumeTextures &Textures) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FSimpleLightTranslucentLightingInjectPS, "/Engine/Private/TranslucentLightInjectionShaders.usf", "SimpleLightInjectMainPS", SF_Pixel) |
| |
| void | InjectSimpleTranslucencyLightingVolumeArray (FRDGBuilder &GraphBuilder, const FViewInfo &View, const uint32 ViewIndex, const uint32 ViewCount, const FTranslucencyLightingVolumeTextures &Textures, const FSimpleLightArray &SimpleLights) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FDebugTranslucencyLightingVolumeCS, "/Engine/Private/TranslucentLightingShaders.usf", "DebugTranslucencyLightingVolumeCS", SF_Compute) |
| |
| void | FilterTranslucencyLightingVolume (FRDGBuilder &GraphBuilder, const TArrayView< const FViewInfo > Views, FTranslucencyLightingVolumeTextures &Textures) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FVisualizeTranslucencyVolumeVS, "/Engine/Private/TranslucencyVolumeVisualize.usf", "VisualizeTranslucencyVolumeVS", SF_Vertex) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FVisualizeTranslucencyVolumePS, "/Engine/Private/TranslucencyVolumeVisualize.usf", "VisualizeTranslucencyVolumePS", SF_Pixel) |
| |
| IPSOCollector * | CreateTranslucentLightingMaterialPSOCollector (ERHIFeatureLevel::Type FeatureLevel) |
| |
|
| bool | GUseTranslucencyShadowDepths = true |
| |
| int32 | GUseTranslucencyLightingVolumes = 1 |
| |
| float | GTranslucencyLightingVolumeMinFOV = 45 |
| |
| float | GTranslucencyLightingVolumeFOVSnapFactor = 10 |
| |
| int32 | GTranslucencyLightingVolumeBlur = 1 |
| |
| int32 | GTranslucencyLightingVolumeDim = 64 |
| |
| int32 | GTranslucencyLightingVolumeAdaptToPerspective = 0 |
| |
| int32 | GTranslucencyLightingVolumeVisualize = 0 |
| |
| float | GTranslucencyLightingVolumeVisualizeRadiusScale = 2.0f |
| |
| FAutoConsoleVariableRef | CVarTranslucencyLightingVolumeVisualizeRadiusScale (TEXT("r.TranslucencyLightingVolume.Visualize.RadiusScale"), GTranslucencyLightingVolumeVisualizeRadiusScale, TEXT("Scales the size of the spheres used to visualize the translucency lighting volume."), ECVF_RenderThreadSafe) |
| |
| int32 | GTranslucencyLightingVolumeVisualizeCascadeIndex = -1 |
| |
| FAutoConsoleVariableRef | CVarTranslucencyLightingVolumeVisualizeCascadeIndex (TEXT("r.TranslucencyLightingVolume.VisualizeCascadeIndex"), GTranslucencyLightingVolumeVisualizeCascadeIndex, TEXT("Selects which translucency lighting volume cascade should be visualized. -1 visualizes all cascades at once."), ECVF_RenderThreadSafe) |
| |
| int32 | GTranslucencyLightingVolumeDebug = 0 |
| |
| int32 | GTranslucencyLightingVolumeDebugFreezePosition = 0 |
| |
| FRegisterPSOCollectorCreateFunction RegisterTranslucentLightingMaterialPSOCollector & | CreateTranslucentLightingMaterialPSOCollector |
| |
| FAutoConsoleVariableDeprecated | CVarTranslucentLightingVolumes (TEXT("r.TranslucentLightingVolume"), TEXT("r.TranslucencyLightingVolume"), TEXT("5.7")) |
| |
| FAutoConsoleVariableDeprecated | CVarTranslucentVolumeMinFOV (TEXT("r.TranslucentVolumeMinFOV"), TEXT("r.TranslucencyLightingVolume.MinFOV"), TEXT("5.7")) |
| |
| FAutoConsoleVariableDeprecated | CVarTranslucentVolumeFOVSnapFactor (TEXT("r.TranslucentVolumeFOVSnapFactor"), TEXT("r.TranslucencyLightingVolume.FOVSnapFactor"), TEXT("5.7")) |
| |
| FAutoConsoleVariableDeprecated | CVarTranslucentVolumeBlur (TEXT("r.TranslucencyVolumeBlur"), TEXT("r.TranslucencyLightingVolume.Blur"), TEXT("5.7")) |
| |
| FAutoConsoleVariableDeprecated | CVarTranslucentVolumeDim (TEXT("r.TranslucencyLightingVolumeDim"), TEXT("r.TranslucencyLightingVolume.Dim"), TEXT("5.7")) |
| |
| FAutoConsoleVariableDeprecated | CVarTranslucentVolumeInnerDistance (TEXT("r.TranslucencyLightingVolumeInnerDistance"), TEXT("r.TranslucencyLightingVolume.InnerDistance"), TEXT("5.7")) |
| |
| FAutoConsoleVariableDeprecated | CVarTranslucentVolumeOuterDistance (TEXT("r.TranslucencyLightingVolumeOuterDistance"), TEXT("r.TranslucencyLightingVolume.OuterDistance"), TEXT("5.7")) |
| |