fix(all-in-one): shorten volumetric range for stable cones #979
No reviewers
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Release
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital!979
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/volumetric-flicker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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-targetspasses.rustfmt --checkpasses.Related: #978, #976.