UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IndirectLightRendering.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
9
11
13{
14
17
20
22constexpr int32 kMaxRayPerPixel = 8;
23
26
27
30 // Size of the viewport to do the ray tracing with.
32
33 // Standard buffer size to store one viewport.
35
36 // 1.0f / TracingViewportBufferSize
38
39 // How much downscale the ray tracing is done
40 SHADER_PARAMETER(int32, DownscaleFactor)
41
42 // Number of ray per pixel.
43 SHADER_PARAMETER(int32, RayCountPerPixel)
44
45 // Size of the ray storage coordinates.
46 // RayCountPerPixel <= (RayStoragePerPixelVector.x * RayStoragePerPixelVector.y)
48
49 // Bits operator to transfor a tracing PixelRayIndex into ray storage coordinates.
52
53 // Scene textures and its sampler.
57
58} // HybridIndirectLighting
59
60// Sky light parameters.
66 SHADER_PARAMETER(float, OcclusionExponent)
67 SHADER_PARAMETER(float, OcclusionCombineMode)
69
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
FSkyDiffuseLightingParameters GetSkyDiffuseLightingParameters(const FSkyLightSceneProxy *SkyLight, float DynamicBentNormalAO)
Definition IndirectLightRendering.cpp:264
#define BEGIN_SHADER_PARAMETER_STRUCT(StructTypeName, DllStorage)
Definition ShaderParameterMacros.h:1482
#define SHADER_PARAMETER_STRUCT_INCLUDE(StructType, MemberName)
Definition ShaderParameterMacros.h:1895
#define SHADER_PARAMETER_RDG_UNIFORM_BUFFER(StructType, MemberName)
Definition ShaderParameterMacros.h:1823
#define END_SHADER_PARAMETER_STRUCT()
Definition ShaderParameterMacros.h:1485
#define SHADER_PARAMETER(MemberType, MemberName)
Definition ShaderParameterMacros.h:1684
Definition SkyLightSceneProxy.h:17
Definition IndirectLightRendering.h:13
constexpr int32 kInterleavingBucketCount
Definition IndirectLightRendering.h:19
constexpr int32 kMaxTracingResolution
Definition IndirectLightRendering.h:25
constexpr int32 kInterleavingTileSize
Definition IndirectLightRendering.h:16
constexpr int32 kMaxRayPerPixel
Definition IndirectLightRendering.h:22
Definition RenderUtils.cpp:2080
Definition IntPoint.h:25