Skip to main content

Crate big_space_solari

Crate big_space_solari 

Source
Expand description

Resets bevy_solari (and optionally DLSS) ray-traced lighting temporal history when a big_space floating origin recenters.

When a big_space floating origin crosses into a new cell, the rendering origin shifts and every entity’s global transform translates rigidly by the same delta. Bevy’s motion-vector prepass captures previous view and previous mesh transforms together, so this rigid shift cancels in screen space and does not corrupt motion vectors. It does, however, invalidate temporal techniques that key history by absolute world position: ray-traced GI reservoirs, world radiance caches, and DLSS history all see every stored position jump by the recenter delta in a single frame, and reject last frame’s history as dissimilar.

BigSpaceSolariPlugin detects each recenter and sets SolariLighting::reset so the history restarts cleanly for the one frame it takes to re-converge. Enable the dlss feature to also reset DLSS Ray Reconstruction.

Enable the scale-bias feature for SolariRayBiasPlugin, which additionally overrides bevy_solari’s room-scale ray interval so ray-traced geometry stays artifact-free at true (large-coordinate) scale.

Structs§

BigSpaceSolariPlugin
Resets ray-traced lighting temporal history on each floating-origin recenter.
SolariRayBias
Tuning for the scale-aware ray bias applied by SolariRayBiasPlugin.
SolariRayBiasPlugin
Overrides bevy_solari::scene_bindings with the scale-aware ray bias.