188 struct FViewRDGResources
191 FRDGTextureRef SkyAtmosphereCameraAerialPerspectiveVolume =
nullptr;
199 FRDGTextureRef RealTimeReflectionCaptureSkyAtmosphereViewLutTexture =
nullptr;
200 FRDGTextureRef RealTimeReflectionCaptureCamera360APLutTexture =
nullptr;
250 const bool bShouldSampleOpaqueShadow,
@ INDEX_NONE
Definition CoreMiscDefines.h:150
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EUniformBufferUsage
Definition RHIDefinitions.h:536
#define END_GLOBAL_SHADER_PARAMETER_STRUCT
Definition ShaderParameterMacros.h:1669
#define BEGIN_GLOBAL_SHADER_PARAMETER_STRUCT
Definition ShaderParameterMacros.h:1663
#define SHADER_PARAMETER(MemberType, MemberName)
Definition ShaderParameterMacros.h:1684
#define DECLARE_UNIFORM_BUFFER_STRUCT(StructTypeName, PrefixKeywords)
Definition ShaderParameterStructDeclaration.h:10
void PrepareSunLightProxy(const FSkyAtmosphereRenderSceneInfo &SkyAtmosphere, uint32 AtmosphereLightIndex, FLightSceneInfo &AtmosphereLight)
Definition SkyAtmosphereRendering.cpp:487
void InitSkyAtmosphereForScene(FRHICommandListImmediate &RHICmdList, FRDGBuilder &GraphBuilder, FScene *Scene)
Definition SkyAtmosphereRendering.cpp:1207
void SetupSkyAtmosphereViewSharedUniformShaderParameters(const class FViewInfo &View, const FSkyAtmosphereSceneProxy &SkyAtmosphereProxy, FSkyAtmosphereViewSharedUniformShaderParameters &OutParameters)
float GetValidAerialPerspectiveStartDepthInCm(const FViewInfo &View, const FSkyAtmosphereSceneProxy &SkyAtmosphereProxy)
Definition SkyAtmosphereRendering.cpp:322
void GetSkyAtmosphereLightsUniformBuffers(FRDGBuilder &GraphBuilder, TRDGUniformBufferRef< FVolumeShadowingShaderParametersGlobal0 > &OutLightShadowShaderParams0UniformBuffer, TRDGUniformBufferRef< FVolumeShadowingShaderParametersGlobal1 > &OutLightShadowShaderParams1UniformBuffer, const SkyAtmosphereLightShadowData &LightShadowData, const FViewInfo &ViewInfo, const bool bShouldSampleOpaqueShadow, const EUniformBufferUsage UniformBufferUsage)
Definition SkyAtmosphereRendering.cpp:375
bool ShouldSkySampleAtmosphereLightsOpaqueShadow(const FScene &Scene, const TArray< FVisibleLightInfo, SceneRenderingAllocator > &VisibleLightInfos, SkyAtmosphereLightShadowData &LightShadowData)
Definition SkyAtmosphereRendering.cpp:337
void InitSkyAtmosphereForView(FRHICommandListImmediate &RHICmdList, const FScene *Scene, FViewInfo &View)
Definition SkyAtmosphereRendering.cpp:1259
ESkyAtmospherePassLocation GetSkyAtmospherePassLocation()
Definition SkyAtmosphereRendering.cpp:312
bool ShouldRenderSkyAtmosphereDebugPasses(const FScene *Scene, const FEngineShowFlags &EngineShowFlags)
Definition SkyAtmosphereRendering.cpp:2204
ESkyAtmospherePassLocation
Definition SkyAtmosphereRendering.h:208
FScreenPassTexture AddSkyAtmosphereDebugPasses(FRDGBuilder &GraphBuilder, FScene *Scene, const FSceneViewFamily &ViewFamily, const FViewInfo &View, FScreenPassTexture &ScreenPassSceneColor)
Definition SkyAtmosphereRendering.cpp:2209
bool ShouldRenderSkyAtmosphere(const FScene *Scene, const FEngineShowFlags &EngineShowFlags)
Definition SkyAtmosphereRendering.cpp:409
bool IsLightAtmospherePerPixelTransmittanceEnabled(const FScene *Scene, const FViewInfo &View, const FLightSceneInfo *const LightSceneInfo)
Definition SkyAtmosphereRendering.cpp:499
Definition LightSceneInfo.h:208
Definition ShadowRendering.h:279
Definition RenderGraphResources.h:1321
Definition RenderGraphBuilder.h:49
RENDERCORE_API FRDGTextureRef RegisterExternalTexture(const TRefCountPtr< IPooledRenderTarget > &ExternalPooledTexture, ERDGTextureFlags Flags=ERDGTextureFlags::None)
Definition RenderGraphBuilder.cpp:1070
Definition RenderGraphUtils.h:1272
Definition RenderGraphResources.h:571
Definition RHIResources.h:3304
Definition SceneRendering.h:2080
Definition SceneView.h:2212
Definition ScenePrivate.h:2875
Definition SkyAtmosphereRendering.h:182
void CommitToSceneAndViewUniformBuffers(FRDGBuilder &GraphBuilder, FRDGExternalAccessQueue &ExternalAccessQueue) const
Definition SkyAtmosphereRendering.cpp:1806
Definition SkyAtmosphereRendering.h:138
FRDGTextureRef GetTransmittanceLutTexture(FRDGBuilder &GraphBuilder) const
Definition SkyAtmosphereRendering.h:155
const FSkyAtmosphereSceneProxy & GetSkyAtmosphereSceneProxy() const
Definition SkyAtmosphereRendering.h:158
~FSkyAtmosphereRenderSceneInfo()
Definition SkyAtmosphereRendering.cpp:537
TRefCountPtr< IPooledRenderTarget > & GetMultiScatteredLuminanceLutTexture()
Definition SkyAtmosphereRendering.h:147
const FAtmosphereUniformShaderParameters * GetAtmosphereShaderParameters() const
Definition SkyAtmosphereRendering.h:157
TUniformBufferRef< FSkyAtmosphereInternalCommonParameters > & GetInternalCommonParametersUniformBuffer()
Definition SkyAtmosphereRendering.h:160
TRefCountPtr< FRDGPooledBuffer > & GetMobileDistantSkyLightLutBuffer()
Definition SkyAtmosphereRendering.cpp:556
TRefCountPtr< FRDGPooledBuffer > & GetDistantSkyLightLutBuffer()
Definition SkyAtmosphereRendering.cpp:550
TRefCountPtr< IPooledRenderTarget > & GetTransmittanceLutTexture()
Definition SkyAtmosphereRendering.h:146
FRHIShaderResourceView * GetDistantSkyLightLutBufferSRV()
Definition SkyAtmosphereRendering.cpp:562
const TUniformBufferRef< FAtmosphereUniformShaderParameters > & GetAtmosphereUniformBuffer()
Definition SkyAtmosphereRendering.h:145
FRHIShaderResourceView * GetMobileDistantSkyLightLutBufferSRV()
Definition SkyAtmosphereRendering.cpp:571
void CreateDistantSkyLightLutBufferAndSRV(FRDGBuilder &GraphBuilder)
Definition SkyAtmosphereRendering.cpp:541
Definition SkyAtmosphereSceneProxy.h:16
Definition SceneRendering.h:1132
Definition SceneRendering.h:211
Definition RefCounting.h:454
Type
Definition RHIFeatureLevel.h:20
Definition ShowFlags.h:56
Definition ShaderParameterMacros.h:770
Definition ScreenPass.h:41
Definition SkyAtmosphereRendering.h:72
bool bDisableBlending
Definition SkyAtmosphereRendering.h:79
FRDGTextureRef MultiScatteredLuminanceLut
Definition SkyAtmosphereRendering.h:87
bool bFastAerialPerspective
Definition SkyAtmosphereRendering.h:81
FRDGTextureRef InputCloudLuminanceTransmittanceTexture
Definition SkyAtmosphereRendering.h:125
bool bShouldSampleCloudSkyAO
Definition SkyAtmosphereRendering.h:120
FRDGTextureRef VolumetricCloudSkyAO
Definition SkyAtmosphereRendering.h:121
FSkyAtmosphereRenderContext()
Definition SkyAtmosphereRendering.cpp:1851
FRDGTextureRef MSAADepthTexture
Definition SkyAtmosphereRendering.h:128
uint8 MSAASampleCount
Definition SkyAtmosphereRendering.h:127
bool bDepthReadDisabled
Definition SkyAtmosphereRendering.h:78
TRDGUniformBufferRef< FVolumeShadowingShaderParametersGlobal1 > LightShadowShaderParams1UniformBuffer
Definition SkyAtmosphereRendering.h:112
FRDGTextureRef SkyAtmosphereCameraAerialPerspectiveVolumeRayOnly
Definition SkyAtmosphereRendering.h:91
FRenderTargetBindingSlots RenderTargets
Definition SkyAtmosphereRendering.h:101
TRDGUniformBufferRef< FSceneUniformParameters > SceneUniformBuffer
Definition SkyAtmosphereRendering.h:98
FRDGTextureRef VolumetricCloudDepthTexture
Definition SkyAtmosphereRendering.h:124
bool bSecondAtmosphereLightEnabled
Definition SkyAtmosphereRendering.h:83
bool bShouldSampleCloudShadow
Definition SkyAtmosphereRendering.h:117
FRDGTextureRef VolumetricCloudShadowMap[2]
Definition SkyAtmosphereRendering.h:118
float NearClippingDistance
Definition SkyAtmosphereRendering.h:108
bool bSceneHasSkyMaterial
Definition SkyAtmosphereRendering.h:99
bool bUseDepthBoundTestIfPossible
Definition SkyAtmosphereRendering.h:76
FRDGTextureRef SkyAtmosphereCameraAerialPerspectiveVolume
Definition SkyAtmosphereRendering.h:89
ERHIFeatureLevel::Type FeatureLevel
Definition SkyAtmosphereRendering.h:109
FRDGTextureRef TransmittanceLut
Definition SkyAtmosphereRendering.h:86
FRDGTextureRef SkyAtmosphereViewLutTexture
Definition SkyAtmosphereRendering.h:88
bool bShouldSampleOpaqueShadow
Definition SkyAtmosphereRendering.h:84
int VirtualShadowMapId1
Definition SkyAtmosphereRendering.h:115
bool bFastAerialPerspectiveDepthTest
Definition SkyAtmosphereRendering.h:82
FRDGTextureRef SkyAtmosphereCameraAerialPerspectiveVolumeMieOnly
Definition SkyAtmosphereRendering.h:90
bool bRenderSkyPixel
Definition SkyAtmosphereRendering.h:106
bool bAPOnCloudMode
Definition SkyAtmosphereRendering.h:123
TUniformBufferRef< FViewUniformShaderParameters > ViewUniformBuffer
Definition SkyAtmosphereRendering.h:97
int VirtualShadowMapId0
Definition SkyAtmosphereRendering.h:114
bool bFastSky
Definition SkyAtmosphereRendering.h:80
TRDGUniformBufferRef< FVolumeShadowingShaderParametersGlobal0 > LightShadowShaderParams0UniformBuffer
Definition SkyAtmosphereRendering.h:111
FViewMatrices * ViewMatrices
Definition SkyAtmosphereRendering.h:96
FIntRect Viewport
Definition SkyAtmosphereRendering.h:103
bool bForceRayMarching
Definition SkyAtmosphereRendering.h:77
float AerialPerspectiveStartDepthInCm
Definition SkyAtmosphereRendering.h:107
bool bIsReflectionCapture
Definition SkyAtmosphereRendering.h:105
Definition SceneView.h:317
Definition SkyAtmosphereRendering.h:235
const FLightSceneInfo * LightVolumetricShadowSceneinfo1
Definition SkyAtmosphereRendering.h:237
const FProjectedShadowInfo * ProjectedShadowInfo0
Definition SkyAtmosphereRendering.h:238
int VirtualShadowMapId0
Definition SkyAtmosphereRendering.h:240
const FLightSceneInfo * LightVolumetricShadowSceneinfo0
Definition SkyAtmosphereRendering.h:236
const FProjectedShadowInfo * ProjectedShadowInfo1
Definition SkyAtmosphereRendering.h:239
int VirtualShadowMapId1
Definition SkyAtmosphereRendering.h:241