3#include <RendererCore/../../../Data/Base/Shaders/Pipeline/LSAOConstants.h>
4#include <RendererCore/Declarations.h>
5#include <RendererCore/Pipeline/RenderPipelinePass.h>
6#include <RendererCore/Shader/ConstantBufferStorage.h>
7#include <RendererCore/Shader/ShaderResource.h>
8#include <RendererFoundation/RendererFoundationDLL.h>
13 using StorageType = plUInt8;
21 NormalAndSampleDistance,
23 Default = NormalAndSampleDistance
54 plUInt32 GetLineToLinePixelOffset()
const {
return m_iLineToLinePixelOffset; }
55 void SetLineToLinePixelOffset(plUInt32 uiPixelOffset);
56 plUInt32 GetLineSamplePixelOffset()
const {
return m_iLineSamplePixelOffsetFactor; }
57 void SetLineSamplePixelOffset(plUInt32 uiPixelOffset);
60 float GetDepthCutoffDistance()
const;
61 void SetDepthCutoffDistance(
float fDepthCutoffDistance);
64 float GetOcclusionFalloff()
const;
65 void SetOcclusionFalloff(
float fFalloff);
70 void DestroyLineSweepData();
71 void SetupLineSweepData(
const plVec3I32& imageResolution);
81 bool m_bSweepDataDirty =
true;
82 bool m_bConstantsDirty =
true;
94 plUInt32 m_uiNumSweepLines = 0;
96 plInt32 m_iLineToLinePixelOffset = 2;
97 plInt32 m_iLineSamplePixelOffsetFactor = 1;
98 float m_fOcclusionFalloff = 0.2f;
99 float m_fDepthCutoffDistance = 4.0f;
102 bool m_bDistributedGathering =
true;
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
Definition ConstantBufferStorage.h:54
Definition DynamicArray.h:81
Definition RendererFoundationDLL.h:418
Definition RendererFoundationDLL.h:432
Definition RendererFoundationDLL.h:446
plGALBufferHandle m_hLineSweepOutputBuffer
Output of the line sweep pass.
Definition LSAOPass.h:85
plGALBufferHandle m_hLineInfoBuffer
Structured buffer containing instructions for every single line to trace.
Definition LSAOPass.h:90
Definition RenderPipelinePass.h:26
Interface for binary in (read) streams.
Definition Stream.h:22
Interface for binary out (write) streams.
Definition Stream.h:107
Encapsulates a view on the given world through the given camera and rendered with the specified Rende...
Definition View.h:21
A custom enum implementation that allows to define the underlying storage type to control its memory ...
Definition Enum.h:37
Defines the depth compare function to be used to decide sample weights.
Definition LSAOPass.h:12
Enum
Definition LSAOPass.h:16
Definition RenderPipelineNode.h:51
Definition Declarations.h:51
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54