Rebel Fork Framework
Urho3D::IndirectLightTracingSettings Struct Reference

Parameters of indirect light tracing. More...

#include <Urho3D/Graphics/LightBakingSettings.h>

Public Member Functions

 IndirectLightTracingSettings ()=default
 Construct default.
 
 IndirectLightTracingSettings (unsigned maxSamples, unsigned maxBounces)
 Construct for given max samples and bounces.
 

Public Attributes

unsigned numTasks_ { 1 }
 Number of tasks to spawn.
 
unsigned maxSamples_ { 10 }
 Max number of samples per element.
 
unsigned maxBounces_ { 2 }
 Max number of bounces.
 
float scaledPositionBounceBias_ { 0.00002f }
 Position bias in direction of face normal after hit. Scaled with position.
 
float constPositionBounceBias_ { 0.0f }
 Constant position bias in direction of face normal after hit.
 

Static Public Attributes

static const unsigned MaxBounces = 8
 Max number of bounces.
 

Detailed Description

Parameters of indirect light tracing.


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