Path Tracing
Loading...
Searching...
No Matches
Path Tracer

Classes

struct  Ray
struct  Hit
 ior = index of refraction (only used with MAT_GLASS) More...

Variables

uniform int DEPTH
uniform int SAMPLES_PER_PIXEL
uniform int RR_MIN_BOUNCES
 Russian Roulette, minimum bounces before enabling. Changing to more or less gives minimal performance changes Avoids ending paths too early. Adds noise to the image if turned on.
uniform float RR_MAX_SURVIVAL
uniform int USE_NEE
 Enables NEE.
uniform float FIREFLY_CLAMP

Detailed Description

Variable Documentation

◆ DEPTH

uniform int DEPTH

◆ FIREFLY_CLAMP

uniform float FIREFLY_CLAMP

Firefly Clamping. Env Maps can create residual fireflies from samples with high color variance that converge slowly, specially in shadows

◆ RR_MAX_SURVIVAL

uniform float RR_MAX_SURVIVAL

Russian Roulette, maximum chance at surviving to avoid excessive throughput. The less the value, the more noise appears for cutted rays, but increases performance.

Note
Default value 0.95. Safest number without noise is ~0.75.

◆ RR_MIN_BOUNCES

uniform int RR_MIN_BOUNCES

Russian Roulette, minimum bounces before enabling. Changing to more or less gives minimal performance changes Avoids ending paths too early. Adds noise to the image if turned on.

Note
Turns off RR if 0
Default value 3.

◆ SAMPLES_PER_PIXEL

uniform int SAMPLES_PER_PIXEL

◆ USE_NEE

uniform int USE_NEE

Enables NEE.