Rebel Fork Framework
Urho3D::BiasParameters Struct Reference

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

#include <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: