Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::ssil_pass::ssil_settings Struct Reference

SSIL settings. More...

#include <ssil_pass.h>

Public Attributes

int max_rays = 4
 
int max_steps = 64
 
float depth_tolerance = 0.15f
 
float thickness = 0.5f
 
float brightness = 0.5f
 
float max_distance = 300.0f
 
trace_resolution resolution = trace_resolution::full
 
bool enable_multi_bounce = true
 
float multi_bounce_intensity = 0.8f
 
bool enable_spatial_denoise = true
 
spatial_denoise_settings spatial_denoise
 
bool enable_temporal_accumulation = true
 
temporal_settings temporal
 

Detailed Description

SSIL settings.

Definition at line 68 of file ssil_pass.h.

Member Data Documentation

◆ brightness

float unravel::ssil_pass::ssil_settings::brightness = 0.5f

Gain on the on-screen indirect BOUNCE only (the environment-miss fallback stays at probe intensity). 1.0 is the physically-matched single-bounce strength, but that reads strong with saturated albedos (e.g. a red floor bleeding onto walls), so the default is a tamer 0.5; raise toward 1.0 for full physical colour bleed.

Definition at line 82 of file ssil_pass.h.

◆ depth_tolerance

float unravel::ssil_pass::ssil_settings::depth_tolerance = 0.15f

Definition at line 72 of file ssil_pass.h.

◆ enable_multi_bounce

bool unravel::ssil_pass::ssil_settings::enable_multi_bounce = true

Definition at line 88 of file ssil_pass.h.

◆ enable_spatial_denoise

bool unravel::ssil_pass::ssil_settings::enable_spatial_denoise = true

Definition at line 91 of file ssil_pass.h.

◆ enable_temporal_accumulation

bool unravel::ssil_pass::ssil_settings::enable_temporal_accumulation = true

Definition at line 94 of file ssil_pass.h.

◆ max_distance

float unravel::ssil_pass::ssil_settings::max_distance = 300.0f

Definition at line 83 of file ssil_pass.h.

◆ max_rays

int unravel::ssil_pass::ssil_settings::max_rays = 4

Definition at line 70 of file ssil_pass.h.

◆ max_steps

int unravel::ssil_pass::ssil_settings::max_steps = 64

Definition at line 71 of file ssil_pass.h.

◆ multi_bounce_intensity

float unravel::ssil_pass::ssil_settings::multi_bounce_intensity = 0.8f

Definition at line 89 of file ssil_pass.h.

◆ resolution

trace_resolution unravel::ssil_pass::ssil_settings::resolution = trace_resolution::full

Trace resolution divisor. SSIL tolerates quarter well because indirect lighting is low-frequency and the bilateral upsample uses full-res guides.

Definition at line 86 of file ssil_pass.h.

◆ spatial_denoise

spatial_denoise_settings unravel::ssil_pass::ssil_settings::spatial_denoise

Definition at line 92 of file ssil_pass.h.

◆ temporal

temporal_settings unravel::ssil_pass::ssil_settings::temporal

Definition at line 95 of file ssil_pass.h.

◆ thickness

float unravel::ssil_pass::ssil_settings::thickness = 0.5f

Extra view-space hit-acceptance band ("thickness"), added on top of depth_tolerance and scaled by hit distance. Far hits resolve against coarser Hi-Z depth, so a fixed band over-rejects them and leaks the environment fallback through occluders; raising thickness closes that leak (too high over-occludes).

Definition at line 77 of file ssil_pass.h.


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