U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::CascadeParameters Struct Reference

#include </var/dev/u3d/stable/Source/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: