CS - Sun Rays coming through walls in R4 render

Open
#2,071 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

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.

Description

Bug

Describe the bug
The sun rays can burst through walls

To Reproduce
Steps to reproduce the behavior:

  1. Set R4 and Start new game
  2. enter in the huts in swamps
  3. Move around in the direction of sun
  4. 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

Image

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)

Dominant language
C++
Stars
3.6k
Forks
565
Avg merge
9h 54m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenXRay/xray-16

All issues in OpenXRay/xray-16

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.