Point light stops working when viewed from long distance
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
0.16.1
## Relevant system information
Reproduced on multiple GPUs
## What you did
I put a point light and some geometry in the scene, then moved far away from it. Minimum repro: https://github.com/jnhyatt/bevy-lighting-bug (uses `bevy_editor_cam` for easy moving far away)
## What went wrong
In the repro, zoom out away from the sphere and eventually the bright spot will disappear instantly. This is incorrect behavior because the light should always affect geometry near it regardless of the camera's position.
## Additional information
I tried adjusting the light range to see if that had something to do with it, but to no effect. Tried a couple other random things. I don't really have any leads unfortunately.
Contributor guide
Assessment
This issue has not been assessed yet.