Method SetPathtracingParameters
SetPathtracingParameters(uint, uint, uint, float)
Defines the number of rays, bounces, and intensity cap when defining the color of a pixel.
Declaration
public void SetPathtracingParameters(uint maximumSamples, uint minimumDepth, uint maximumDepth, float maximumIntensity)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | maximumSamples | The number of rays that should be cast. |
| uint | minimumDepth | Minimal amount of bounces a ray should do before stopping. |
| uint | maximumDepth | Maximal amount of bounces a ray should do before stopping. |
| float | maximumIntensity | Maximal intensity of a pixel. |