fix(renderer): mask light glare per pixel and reduce its size #1005

Merged
SakulFlee merged 1 commit from fix/glare-depth into main 2026-10-31 20:50:09 +00:00
Owner

Summary

  • Compare each glare pixel against the scene depth at that pixel instead of testing only the light center.
  • Use linearized view-space depth, with a distance-scaled occlusion bias, so far lights no longer slip through walls.
  • Reduce the positional glare radius and energy slightly.

Notes

  • Foreground geometry now masks the halo even when the light center is visible through a gap or at a distance.
  • Point-light glare remains enabled in All-in-One; spot lights remain cone-gated.
## Summary - Compare each glare pixel against the scene depth at that pixel instead of testing only the light center. - Use linearized view-space depth, with a distance-scaled occlusion bias, so far lights no longer slip through walls. - Reduce the positional glare radius and energy slightly. ## Notes - Foreground geometry now masks the halo even when the light center is visible through a gap or at a distance. - Point-light glare remains enabled in All-in-One; spot lights remain cone-gated.
fix(renderer): mask light glare per pixel and reduce its size
All checks were successful
Lint / lint (pull_request) Successful in 1m31s
PR / test (pull_request) Successful in 3m16s
7a2c89f005

Smart test results

Result: PASS

Scope: orbital_renderer

Reason: directly changed crates

Elapsed: 2m 46s

Workflow run

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

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

Crate Nextest Passed Failed Skipped Doctests Time
orbital_renderer 21 21 0 0 - 0.17s
pie showData
    title Nextest outcomes
    "Passed" : 21
<!-- orbital-ci-test-results --> ## Smart test results **Result:** PASS **Scope:** orbital_renderer **Reason:** directly changed crates **Elapsed:** 2m 46s [Workflow run](https://forgejo.sakul-flee.de/SakulFlee/Orbital/actions/runs/949) **Overall:** 21 tests, 21 passed, 0 failed, 0 skipped **Nextest:** 21 tests, 21 passed, 0 failed, 0 skipped **Doctests:** no tests reported | Crate | Nextest | Passed | Failed | Skipped | Doctests | Time | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | orbital_renderer | 21 | 21 | 0 | 0 | - | 0.17s | ```mermaid pie showData title Nextest outcomes "Passed" : 21 ```
SakulFlee referenced this pull request from a commit 2026-10-31 20:50:10 +00:00
Sign in to join this conversation.
No description provided.