GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::Lights3D::Parameters Struct Reference

Struct of shader parameters for a set of lights. More...

#include <GREM/graphics_3d/Lights3D.hpp>

Public Attributes

Array< float, Lights3D::MAX_SHADOW_CASCADE_COUNT > lightsShadowCascadeFrustumFarPlaneDistances
 Distances to the far planes of each cascade level's view frustum used for cascaded shadow mapping of directional lights.
uint32_t lightsShadowCascadeCount
 Number of shadow cascade levels for cascaded shadow mapping of directional lights.
float lightsShadowCascadeBlendSize
 Length of the blend area between cascade levels for cascaded shadow mapping of directional lights.

Detailed Description

Struct of shader parameters for a set of lights.

Member Data Documentation

◆ lightsShadowCascadeFrustumFarPlaneDistances

Array<float, Lights3D::MAX_SHADOW_CASCADE_COUNT> grem::graphics::Lights3D::Parameters::lightsShadowCascadeFrustumFarPlaneDistances

Distances to the far planes of each cascade level's view frustum used for cascaded shadow mapping of directional lights.

◆ lightsShadowCascadeCount

uint32_t grem::graphics::Lights3D::Parameters::lightsShadowCascadeCount

Number of shadow cascade levels for cascaded shadow mapping of directional lights.

◆ lightsShadowCascadeBlendSize

float grem::graphics::Lights3D::Parameters::lightsShadowCascadeBlendSize

Length of the blend area between cascade levels for cascaded shadow mapping of directional lights.


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