fix(volumetrics): improve froxel depth resolution #978

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

Summary

Increases the vertical/depth resolution of the volumetric froxel grid after switching to linear view-depth slices.

  • All normal quality tiers now use 64 froxel Z slices. Quality still scales X/Y resolution.
  • Low/Medium/High composite step counts are now 32/48/64.
  • AiO's indoor volumetrics range is reduced from 90 to 60 world units, concentrating the grid on the hallway and rooms.
  • Updated the quality-tier tests.

The linear-depth change fixed the gross distribution; this makes the remaining slice spacing much finer so light cones should not terminate in visible steps or cut off a few units from the camera.

Validation

  • cargo test -p orbital_ecs_bridge -p orbital_renderer --all-targets passes.
  • cargo check --workspace with the workspace clippy driver and -D warnings passes.
  • rustfmt --check passes.
  • No GPU visual validation was possible locally.

Related: #976, #969, #977.

## Summary Increases the vertical/depth resolution of the volumetric froxel grid after switching to linear view-depth slices. - All normal quality tiers now use 64 froxel Z slices. Quality still scales X/Y resolution. - Low/Medium/High composite step counts are now 32/48/64. - AiO's indoor volumetrics range is reduced from 90 to 60 world units, concentrating the grid on the hallway and rooms. - Updated the quality-tier tests. The linear-depth change fixed the gross distribution; this makes the remaining slice spacing much finer so light cones should not terminate in visible steps or cut off a few units from the camera. ## Validation - `cargo test -p orbital_ecs_bridge -p orbital_renderer --all-targets` passes. - `cargo check --workspace` with the workspace clippy driver and `-D warnings` passes. - `rustfmt --check` passes. - No GPU visual validation was possible locally. Related: #976, #969, #977.
fix(volumetrics): improve froxel depth resolution
All checks were successful
Lint / lint (pull_request) Successful in 1m28s
PR / test (pull_request) Successful in 3m43s
Templates / templates (pull_request) Successful in 3m18s
ea44d0cc7a

Smart test results

Result: PASS

Scope: orbital_ecs_bridge

Reason: directly changed crates

Elapsed: 3m 12s

Workflow run

Overall: 42 tests, 42 passed, 0 failed, 0 skipped

Nextest: 42 tests, 42 passed, 0 failed, 0 skipped
Doctests: no tests reported

Crate Nextest Passed Failed Skipped Doctests Time
orbital_ecs_bridge 42 42 0 0 - 0.58s
pie showData
    title Nextest outcomes
    "Passed" : 42
<!-- orbital-ci-test-results --> ## Smart test results **Result:** PASS **Scope:** orbital_ecs_bridge **Reason:** directly changed crates **Elapsed:** 3m 12s [Workflow run](https://forgejo.sakul-flee.de/SakulFlee/Orbital/actions/runs/865) **Overall:** 42 tests, 42 passed, 0 failed, 0 skipped **Nextest:** 42 tests, 42 passed, 0 failed, 0 skipped **Doctests:** no tests reported | Crate | Nextest | Passed | Failed | Skipped | Doctests | Time | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | orbital_ecs_bridge | 42 | 42 | 0 | 0 | - | 0.58s | ```mermaid pie showData title Nextest outcomes "Passed" : 42 ```
Sign in to join this conversation.
No description provided.