Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::light::shadowmap_params::esm_impl_params Struct Reference

Struct representing implementation parameters for ESM shadow mapping. More...

#include <light.h>

Public Attributes

float hardness {0.7f}
 ESM hardness parameter.
 
float depth_multiplier {9000.0f}
 Depth multiplier for ESM.
 
bool do_blur {true}
 Whether to blur the shadow map.
 
float blur_x_offset {1.0f}
 Blur offset along the x-axis.
 
float blur_y_offset {1.0f}
 Blur offset along the y-axis.
 

Detailed Description

Struct representing implementation parameters for ESM shadow mapping.

Definition at line 284 of file light.h.

Member Data Documentation

◆ blur_x_offset

float unravel::light::shadowmap_params::esm_impl_params::blur_x_offset {1.0f}

Blur offset along the x-axis.

Definition at line 293 of file light.h.

◆ blur_y_offset

float unravel::light::shadowmap_params::esm_impl_params::blur_y_offset {1.0f}

Blur offset along the y-axis.

Definition at line 295 of file light.h.

◆ depth_multiplier

float unravel::light::shadowmap_params::esm_impl_params::depth_multiplier {9000.0f}

Depth multiplier for ESM.

Definition at line 289 of file light.h.

◆ do_blur

bool unravel::light::shadowmap_params::esm_impl_params::do_blur {true}

Whether to blur the shadow map.

Definition at line 291 of file light.h.

◆ hardness

float unravel::light::shadowmap_params::esm_impl_params::hardness {0.7f}

ESM hardness parameter.

Definition at line 287 of file light.h.


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