Urho3D::CascadeParameters Struct Reference

Cascaded shadow map parameters. More...

#include <Urho3D/Graphics/Light.h>

Collaboration diagram for Urho3D::CascadeParameters:
[legend]

Public Member Functions

 CascadeParameters ()=default
 Construct undefined.
 
 CascadeParameters (float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust=1.0f)
 Construct with initial values.
 
void Validate ()
 Validate parameters.
 
float GetShadowRange () const
 Return shadow maximum range.
 

Public Attributes

Vector4 splits_
 Far clip values of the splits.
 
float fadeStart_ {}
 The point relative to the total shadow range where shadow fade begins (0.0 - 1.0)
 
float biasAutoAdjust_ {}
 Automatic depth bias adjustment strength.
 

Detailed Description

Cascaded shadow map parameters.


The documentation for this struct was generated from the following files:
  • Source/Urho3D/Graphics/Light.h
  • Source/Urho3D/Graphics/Light.cpp