CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::PerspectiveShadowMapParameters Struct Reference

A structure stored in the component that allows the user to customize the algorithm parameters. More...

#include <CeresEngine/Renderer/RendererLightSettings.hpp>

Static Public Member Functions

template<typename Processor >
static constexpr void reflect (Processor &&RTTI)
 Executes the given processor for every field of the struct.
 

Public Attributes

bool shimmerReduction = true
 If set to true will enable shimmer reduction which helps reducing the flickering shadows effect when moving the camera.
 
double minimumNearPlane = 0.001
 The minimum distance to be used when computing the shadow frustum.
 
double maximumFarPlane = 40.0
 The maximum distance to be used when computing the shadow frustum.
 

Detailed Description

A structure stored in the component that allows the user to customize the algorithm parameters.

Member Function Documentation

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::PerspectiveShadowMapParameters::reflect ( Processor &&  RTTI)
inlinestaticconstexpr

Executes the given processor for every field of the struct.

Parameters
RTTIThe processor to be ran for every field.

Member Data Documentation

◆ maximumFarPlane

double CeresEngine::PerspectiveShadowMapParameters::maximumFarPlane = 40.0

The maximum distance to be used when computing the shadow frustum.

◆ minimumNearPlane

double CeresEngine::PerspectiveShadowMapParameters::minimumNearPlane = 0.001

The minimum distance to be used when computing the shadow frustum.

◆ shimmerReduction

bool CeresEngine::PerspectiveShadowMapParameters::shimmerReduction = true

If set to true will enable shimmer reduction which helps reducing the flickering shadows effect when moving the camera.


The documentation for this struct was generated from the following file: