fix(all-in-one): shorten volumetric range for stable cones #979

Merged
SakulFlee merged 1 commit from fix/volumetric-flicker into main 2026-10-29 21:52:01 +00:00
Owner

Summary

Reduces the AiO volumetric range from 60 to 30 world units.

With 64 depth slices, a 60-unit range gives roughly 0.94 units per slice. A short spot cone can then fall between slice centres as the camera moves, causing the full/half/none flicker. At 30 units the slice spacing is roughly 0.47 units, which is much denser relative to the helmet spot cones while still covering the hallway and room row from the starting camera.

The inline comment explains that this is also the intended indoor range.

Validation

  • cargo check -p template_all_in_one --all-targets passes.
  • rustfmt --check passes.
  • No GPU visual validation was possible locally.

Related: #978, #976.

## Summary Reduces the AiO volumetric range from 60 to 30 world units. With 64 depth slices, a 60-unit range gives roughly 0.94 units per slice. A short spot cone can then fall between slice centres as the camera moves, causing the full/half/none flicker. At 30 units the slice spacing is roughly 0.47 units, which is much denser relative to the helmet spot cones while still covering the hallway and room row from the starting camera. The inline comment explains that this is also the intended indoor range. ## Validation - `cargo check -p template_all_in_one --all-targets` passes. - `rustfmt --check` passes. - No GPU visual validation was possible locally. Related: #978, #976.
fix(all-in-one): shorten volumetric range for stable cones
All checks were successful
PR / test (pull_request) Successful in 32s
Lint / lint (pull_request) Successful in 1m9s
Templates / templates (pull_request) Successful in 2m30s
2d412b5b86
Sign in to join this conversation.
No description provided.