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

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

#include <light.h>

Public Attributes

float min_variance {0.02f}
 Minimum variance for VSM filtering.
 
float depth_multiplier {450.0f}
 Depth multiplier for VSM.
 
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 VSM shadow mapping.

Definition at line 267 of file light.h.

Member Data Documentation

◆ blur_x_offset

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

Blur offset along the x-axis.

Definition at line 276 of file light.h.

◆ blur_y_offset

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

Blur offset along the y-axis.

Definition at line 278 of file light.h.

◆ depth_multiplier

float unravel::light::shadowmap_params::vsm_impl_params::depth_multiplier {450.0f}

Depth multiplier for VSM.

Definition at line 272 of file light.h.

◆ do_blur

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

Whether to blur the shadow map.

Definition at line 274 of file light.h.

◆ min_variance

float unravel::light::shadowmap_params::vsm_impl_params::min_variance {0.02f}

Minimum variance for VSM filtering.

Definition at line 270 of file light.h.


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