Urho3D
Public Member Functions | Public Attributes | List of all members
Urho3D::BiasParameters Struct Reference

Depth bias parameters. Used both by lights (for shadow mapping) and materials. More...

#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Graphics/Light.h>

Public Member Functions

 BiasParameters ()=default
 Construct undefined.
 
 BiasParameters (float constantBias, float slopeScaledBias, float normalOffset=0.0f)
 Construct with initial values.
 
void Validate ()
 Validate parameters.
 

Public Attributes

float constantBias_
 Constant bias.
 
float slopeScaledBias_
 Slope scaled bias.
 
float normalOffset_
 Normal offset multiplier.
 

Detailed Description

Depth bias parameters. Used both by lights (for shadow mapping) and materials.


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