CS - Sun Rays coming through walls in R4 render
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 536
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 3
Description
Describe the bug
The sun rays can burst through walls
To Reproduce
Steps to reproduce the behavior:
- Set R4 and Start new game
- enter in the huts in swamps
- Move around in the direction of sun
- See error
Expected behavior
A sun rays should come inside only from windows or open doors
Screenshots, videos
https://github.com/user-attachments/assets/40b4225a-96da-4872-8b55-13db795cc3e1
BugTrap error report
No crash
Desktop (please complete the following information):
OpenXRay Release Master Gold build 9856, Feb 1 2026 (Windows 64-bit, static)
GitHub Actions build 6237 (21565295480) from commit[62b2e33e1ed7bdeefbcdf6de7840efa4956ec602] branch[dev] (built by OpenXRay/xray-16)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in R4 using the listed swamp huts and the supplied screenshot or video as the visual reference. Move around indoors toward the sun to confirm rays pass through walls rather than only windows or open doors. Done means the same scenario shows sunlight entering only through those openings, with no crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100