Dry
|
Depth bias parameters. Used both by lights (for shadow mapping) and materials. More...
#include <Dry/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. | |
Depth bias parameters. Used both by lights (for shadow mapping) and materials.