Configuration for the directional light shadow map pass.
More...
#include <ShadowPass.h>
|
| float | OrthoHalf = 15.0f |
| | Half-extent of the orthographic shadow projection (metres).
|
| float | LightDist = 1.0f |
| | Distance of the light from the scene origin along its direction.
|
| float | NearPlane = 0.01f |
| | Shadow frustum near plane (metres).
|
| float | FarPlane = 500.0f |
| | Shadow frustum far plane (metres).
|
| float | Bias = 0.001f |
| | Constant depth bias applied in the geometry pass to reduce shadow acne.
|
| int | PCFRadius = 1 |
| | PCF kernel half-radius in texels (0 = hard shadows).
|
| u32 | ShadowMapSize = 2048 |
| | Shadow map resolution in pixels (square).
|
Configuration for the directional light shadow map pass.
◆ operator<=>()
| auto Raven::ShadowSettings::operator<=> |
( |
const ShadowSettings & | | ) |
const |
|
default |
◆ Reflect()
template<typename Visitor>
| void Raven::ShadowSettings::Reflect |
( |
Visitor && | v | ) |
|
|
inline |
◆ Bias
| float Raven::ShadowSettings::Bias = 0.001f |
Constant depth bias applied in the geometry pass to reduce shadow acne.
◆ FarPlane
| float Raven::ShadowSettings::FarPlane = 500.0f |
Shadow frustum far plane (metres).
◆ LightDist
| float Raven::ShadowSettings::LightDist = 1.0f |
Distance of the light from the scene origin along its direction.
◆ NearPlane
| float Raven::ShadowSettings::NearPlane = 0.01f |
Shadow frustum near plane (metres).
◆ OrthoHalf
| float Raven::ShadowSettings::OrthoHalf = 15.0f |
Half-extent of the orthographic shadow projection (metres).
◆ PCFRadius
| int Raven::ShadowSettings::PCFRadius = 1 |
PCF kernel half-radius in texels (0 = hard shadows).
◆ ShadowMapSize
| u32 Raven::ShadowSettings::ShadowMapSize = 2048 |
Shadow map resolution in pixels (square).
The documentation for this struct was generated from the following file: