|
Unravel Engine C++ Reference
|
FidelityFX SSR settings. More...
#include <ssr_pass.h>
Classes | |
| struct | cone_tracing_settings |
| Cone tracing parameters. More... | |
| struct | spatial_denoise_settings |
| Spatial denoise parameters (a-trous wavelet filter between trace and temporal resolve) More... | |
| struct | temporal_settings |
| Temporal accumulation parameters. More... | |
Public Attributes | |
| int | max_steps = 64 |
| Maximum ray marching steps for hierarchical traversal. | |
| int | max_rays = 4 |
| Maximum rays for rough surfaces (future: cone tracing) | |
| float | depth_tolerance = 0.1f |
| Depth tolerance for hit validation. | |
| float | brightness = 1.0f |
| Reflection brightness multiplier. | |
| float | facing_reflections_fading = 0.1f |
| Fade factor for camera-facing reflections. | |
| float | roughness_depth_tolerance = 1.0f |
| Additional depth tolerance for rough surfaces. | |
| float | fade_in_start = 0.1f |
| Screen edge fade start. | |
| float | fade_in_end = 0.2f |
| trace_resolution | resolution = trace_resolution::full |
| bool | enable_cone_tracing = false |
| Enable cone tracing for glossy reflections. | |
| cone_tracing_settings | cone_tracing |
| Cone tracing specific settings. | |
| bool | enable_temporal_accumulation = true |
| Enable temporal accumulation. | |
| temporal_settings | temporal |
| Temporal accumulation settings. | |
| bool | enable_spatial_denoise = false |
| Enable spatial denoising before temporal resolve. | |
| spatial_denoise_settings | spatial_denoise |
| Spatial denoise settings. | |
FidelityFX SSR settings.
Definition at line 20 of file ssr_pass.h.
| float unravel::ssr_pass::fidelityfx_ssr_settings::brightness = 1.0f |
Reflection brightness multiplier.
Definition at line 45 of file ssr_pass.h.
| cone_tracing_settings unravel::ssr_pass::fidelityfx_ssr_settings::cone_tracing |
Cone tracing specific settings.
Definition at line 55 of file ssr_pass.h.
| float unravel::ssr_pass::fidelityfx_ssr_settings::depth_tolerance = 0.1f |
Depth tolerance for hit validation.
Definition at line 44 of file ssr_pass.h.
| bool unravel::ssr_pass::fidelityfx_ssr_settings::enable_cone_tracing = false |
Enable cone tracing for glossy reflections.
Definition at line 54 of file ssr_pass.h.
| bool unravel::ssr_pass::fidelityfx_ssr_settings::enable_spatial_denoise = false |
Enable spatial denoising before temporal resolve.
Definition at line 71 of file ssr_pass.h.
| bool unravel::ssr_pass::fidelityfx_ssr_settings::enable_temporal_accumulation = true |
Enable temporal accumulation.
Definition at line 58 of file ssr_pass.h.
| float unravel::ssr_pass::fidelityfx_ssr_settings::facing_reflections_fading = 0.1f |
Fade factor for camera-facing reflections.
Definition at line 46 of file ssr_pass.h.
| float unravel::ssr_pass::fidelityfx_ssr_settings::fade_in_end = 0.2f |
Screen edge fade end
Definition at line 49 of file ssr_pass.h.
| float unravel::ssr_pass::fidelityfx_ssr_settings::fade_in_start = 0.1f |
Screen edge fade start.
Definition at line 48 of file ssr_pass.h.
| int unravel::ssr_pass::fidelityfx_ssr_settings::max_rays = 4 |
Maximum rays for rough surfaces (future: cone tracing)
Definition at line 43 of file ssr_pass.h.
| int unravel::ssr_pass::fidelityfx_ssr_settings::max_steps = 64 |
Maximum ray marching steps for hierarchical traversal.
Definition at line 42 of file ssr_pass.h.
| trace_resolution unravel::ssr_pass::fidelityfx_ssr_settings::resolution = trace_resolution::full |
Trace resolution divisor. SSR is runtime-capped at half because sub-half tracing breaks Hi-Z traversal, temporal clamp and the spatial denoiser.
Definition at line 52 of file ssr_pass.h.
| float unravel::ssr_pass::fidelityfx_ssr_settings::roughness_depth_tolerance = 1.0f |
Additional depth tolerance for rough surfaces.
Definition at line 47 of file ssr_pass.h.
| spatial_denoise_settings unravel::ssr_pass::fidelityfx_ssr_settings::spatial_denoise |
Spatial denoise settings.
Definition at line 72 of file ssr_pass.h.
| temporal_settings unravel::ssr_pass::fidelityfx_ssr_settings::temporal |
Temporal accumulation settings.
Definition at line 60 of file ssr_pass.h.