Bindings
@group(1)
@binding(2)
var<storage, read_write>
light_tile_resolved_samples:
array<ResolvedLightSamplePacked>
Active when
MOTION_VECTORS_READ_WRITE
Active when
!MOTION_VECTORS_READ_WRITE
@group(1)
@binding(6)
var<uniform>
view:
View
@group(1)
@binding(7)
var<uniform>
previous_view:
PreviousViewUniforms
Active when
RESTIR
Active when
RESTIR
Active when
DLSS_RR_GUIDE_BUFFERS
Active when
DLSS_RR_GUIDE_BUFFERS
Active when
DLSS_RR_GUIDE_BUFFERS
Active when
DLSS_RR_GUIDE_BUFFERS
Active when
DLSS_RR_GUIDE_BUFFERS
Structures
struct
SolariLightingSettings
{
}
confidence_weight_cap:
f32,
primary_di_samples:
u32,
secondary_di_samples:
u32,
max_bounces:
u32,
world_cache_max_temporal_samples:
f32,
world_cache_direct_light_sample_count:
u32,
world_cache_max_gi_ray_distance:
f32,
world_cache_cell_updates_soft_target:
u32,
world_cache_position_base_cell_size:
f32,
world_cache_position_lod_scale:
f32,
frame_rng:
u32,
reset:
u32,
Keep in sync with the packed world-cache layout constants in prepare.rs.
struct
WorldCache
{
}
checksums:
WORLD_CACHE_SIZE>,
life:
WORLD_CACHE_SIZE>,
WORLD_CACHE_NON_ATOMIC_LIFE_BUFFER
life:
WORLD_CACHE_SIZE>,
!WORLD_CACHE_NON_ATOMIC_LIFE_BUFFER
radiance:
WORLD_CACHE_SIZE>,
geometry_data:
WORLD_CACHE_SIZE>,
luminance_deltas:
WORLD_CACHE_SIZE>,
active_cells_new_radiance:
WORLD_CACHE_SIZE>,
a:
WORLD_CACHE_SIZE>,
active_cell_indices:
WORLD_CACHE_SIZE>,
active_cells_count:
u32,
User-configurable settings from the
SolariLightingcomponent, plus per-frame state. Field order and types must matchSolariLightingUniformsinprepare.rs.