R2 Core Shaders

Data Fields
R2_shadow_variance_t Struct Reference

A variance shadow. More...

`#include <R2ShadowVariance.h>`

## Data Fields
float | factor_minimum
| The minimum level of attenuation by the shadow (0.0 means "completely attenuated", 1.0 means "no attenuation")
float | variance_minimum
| The minimum variance level. Used to eliminate shadow bias. Typically `0.00002f` will suffice for all scenes.
float | bleed_reduction
| The amount of bleed reduction (typically `[0.2, 1.0]`). Setting this value too high results in loss of detail in shadows.
float | depth_coefficient
| The logarithmic depth coefficient that was used to encode depth values.
sampler2D | map
| The variance shadow map.

## Detailed Description

A variance shadow.

Definition at line 10 of file R2ShadowVariance.h.

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

- R2ShadowVariance.h