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

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

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