Broken lighting with ray tracing off (VICTORY_BVH_BUILDER=0) #499

Open
opened 2026-12-04 19:21:37 +00:00 by github-bot · 13 comments
Owner

@⁠Bushyon on GitHub · 2026-12-04 19:16 UTC · original

with ray tracing off the light looks broken: characters are bright, the world is very dark, dark areas are just black, and wet surfaces on the ground are completely white. sometimes it looks normal. turning ray tracing on and restarting fixes it.

saw it playing with the medium preset (it sets VICTORY_BVH_BUILDER=0, potato does too) and in two benchmark runs with ray tracing off, on 0fd7614 and 2382b4c.

RX 7800 XT, Ryzen 9 7900, 31 GB, Fedora 44, Proton Experimental

**@⁠Bushyon** on GitHub · 2026-12-04 19:16 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499) with ray tracing off the light looks broken: characters are bright, the world is very dark, dark areas are just black, and wet surfaces on the ground are completely white. sometimes it looks normal. turning ray tracing on and restarting fixes it. saw it playing with the medium preset (it sets VICTORY_BVH_BUILDER=0, potato does too) and in two benchmark runs with ray tracing off, on 0fd7614 and 2382b4c. RX 7800 XT, Ryzen 9 7900, 31 GB, Fedora 44, Proton Experimental
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-04 19:21:37 +00:00
Author
Owner

@⁠WillyBrown69 on GitHub · 2026-12-04 19:20 UTC · original

might be related to #442 ? Though for me it was dark even if regardless of ray tracing and that pr fixed it for me

**@⁠WillyBrown69** on GitHub · 2026-12-04 19:20 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7421727737) might be related to #442 ? Though for me it was dark even if regardless of ray tracing and that pr fixed it for me
Author
Owner

@⁠Bushyon on GitHub · 2026-12-04 19:38 UTC · original

Probably, i was testing RT on off and VICTORY_BVH_HARDWARE=0 / VICTORY_BVH_HARDWARE=1 while RT on. Going to test #442 now.

**@⁠Bushyon** on GitHub · 2026-12-04 19:38 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7422184682) Probably, i was testing RT on off and VICTORY_BVH_HARDWARE=0 / VICTORY_BVH_HARDWARE=1 while RT on. Going to test #442 now.
Author
Owner

@⁠WillyBrown69 on GitHub · 2026-12-04 19:39 UTC · original

make sure you have these in .conf too
VICTORY_FSR_PRE_EXPOSURE=0.25
VICTORY_FSR_AUTO_EXPOSURE=0

**@⁠WillyBrown69** on GitHub · 2026-12-04 19:39 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7422213384) make sure you have these in .conf too VICTORY_FSR_PRE_EXPOSURE=0.25 VICTORY_FSR_AUTO_EXPOSURE=0
Author
Owner

@⁠Bushyon on GitHub · 2026-12-04 19:58 UTC · original · edited 2026-12-04 20:14 UTC

Updated to main, tested with both switches declared and without them, still happens.

1, 2 and 4 were taken with VICTORY_FSR_PRE_EXPOSURE=0.25 and VICTORY_FSR_AUTO_EXPOSURE=0 declared, then again not declared. Did not notice a difference on this specific case, maybe not related to #442. Not the whole world is like this, just shaded areas / indors.

1 - Not indoors, but shaded area. (for some reason window is pink, maybe not related to issue)
Screenshot_20261204_164715

2 - Same area but with little movement to left.
Screenshot_20261204_164741

3 - Same area VICTORY_BVH_HARDWARE and VICTORY_BVH_BUILDER 1
Screenshot_20261204_165439

All captures above made using first person focus mode.

4 - Non first, can see a small portion of the char glowing in these dark enviroments, happens with with npcs too
image

**@⁠Bushyon** on GitHub · 2026-12-04 19:58 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7422641796) · edited 2026-12-04 20:14 UTC Updated to main, tested with both switches declared and without them, still happens. 1, 2 and 4 were taken with VICTORY_FSR_PRE_EXPOSURE=0.25 and VICTORY_FSR_AUTO_EXPOSURE=0 declared, then again not declared. Did not notice a difference on this specific case, maybe not related to #442. Not the whole world is like this, just shaded areas / indors. 1 - Not indoors, but shaded area. (for some reason window is pink, maybe not related to issue) <img width="2357" height="1440" alt="Screenshot_20261204_164715" src="https://github.com/user-attachments/assets/3a57fe34-be55-4598-981a-a6c870770b14" /> 2 - Same area but with little movement to left. <img width="2357" height="1440" alt="Screenshot_20261204_164741" src="https://github.com/user-attachments/assets/4b49386c-2e33-4687-ae85-bb31df70fcdf" /> 3 - Same area VICTORY_BVH_HARDWARE and VICTORY_BVH_BUILDER 1 <img width="2362" height="1440" alt="Screenshot_20261204_165439" src="https://github.com/user-attachments/assets/172a699a-f7fb-4d06-a0de-2652cdb45593" /> All captures above made using first person focus mode. 4 - Non first, can see a small portion of the char glowing in these dark enviroments, happens with with npcs too <img width="1403" height="886" alt="image" src="https://github.com/user-attachments/assets/bb52207e-f4f9-4107-b232-3c2184ab905c" />
Author
Owner

@⁠Bushyon on GitHub · 2026-12-04 20:17 UTC · original

Happens on ultra preset too, with just rt off, probably not related to .conf

**@⁠Bushyon** on GitHub · 2026-12-04 20:17 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7423101278) Happens on ultra preset too, with just rt off, probably not related to .conf
Author
Owner

@⁠Bushyon on GitHub · 2026-12-04 20:22 UTC · original

Also happens with FSR fully off

**@⁠Bushyon** on GitHub · 2026-12-04 20:22 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7423210616) Also happens with FSR fully off
Author
Owner

@⁠Bushyon on GitHub · 2026-12-04 20:51 UTC · original

Ultra preset, RT off, FSR on, VICTORY_AMBIENT=0, tested twice.
image

Nothing changed with RT when VICTORY_AMBIENT=0

**@⁠Bushyon** on GitHub · 2026-12-04 20:51 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7423892420) Ultra preset, RT off, FSR on, **VICTORY_AMBIENT=0**, tested twice. <img width="2348" height="1440" alt="image" src="https://github.com/user-attachments/assets/6f223b06-0cc1-48f8-a43e-30a708506973" /> Nothing changed with RT when VICTORY_AMBIENT=0
Author
Owner

@⁠Bushyon on GitHub · 2026-12-04 21:23 UTC · original

VICTORY_AMBIENT=0 the black areas on outside are fixed, but the bug gets worst on indoors even when there is light. Excessive glowing things and black surfaces.
image

**@⁠Bushyon** on GitHub · 2026-12-04 21:23 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7424621238) VICTORY_AMBIENT=0 the black areas on outside are fixed, but the bug gets worst on indoors even when there is light. Excessive glowing things and black surfaces. <img width="1062" height="1229" alt="image" src="https://github.com/user-attachments/assets/4a3832e6-4088-4455-8ced-f9463326c823" />
Author
Owner

@⁠soniccd123 on GitHub · 2026-12-04 22:14 UTC · original

5700X 32GB 9060XT 16GB here, get the exact same problem, also get this exact issue during night time gameplay, VICTORY_AMBIENT=0 also don't help

**@⁠soniccd123** on GitHub · 2026-12-04 22:14 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7425698513) 5700X 32GB 9060XT 16GB here, get the exact same problem, also get this exact issue during night time gameplay, VICTORY_AMBIENT=0 also don't help
Author
Owner

@⁠dbidwell94 on GitHub · 2026-12-04 22:16 UTC · original

Looks like car headlights are borked for me. Possibly same issue?

**@⁠dbidwell94** on GitHub · 2026-12-04 22:16 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7425739025) Looks like car headlights are borked for me. Possibly same issue?
Author
Owner

@⁠Bushyon on GitHub · 2026-12-04 22:18 UTC · original

@⁠soniccd123 , still testing here, try VICTORY_AMBIENT=5, still buggy but better in and outdoors. Or VICTORY_BVH_HARDWARE and VICTORY_BVH_BUILDER at 1, to enable RT.

Dont try VICTORY_AMBIENT=10 dough, makes environment look like hell

**@⁠Bushyon** on GitHub · 2026-12-04 22:18 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7425788427) @⁠soniccd123 , still testing here, try VICTORY_AMBIENT=5, still buggy but better in and outdoors. Or VICTORY_BVH_HARDWARE and VICTORY_BVH_BUILDER at 1, to enable RT. Dont try VICTORY_AMBIENT=10 dough, makes environment look like hell
Author
Owner

@⁠Bushyon on GitHub · 2026-12-04 22:22 UTC · original

@⁠dbidwell94, probably unrelated, saw it happen sometimes but not consistently, maybe something related with pipelines / shaders that need rebuilt. Not limited to non RT, but have impression that is where happens most.

Try restarting or:

env "$W" ./run.sh shaders   # translates the game's shaders again
env "$W" ./run.sh warm      # prepares the pipelines
**@⁠Bushyon** on GitHub · 2026-12-04 22:22 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7425860220) @⁠dbidwell94, probably unrelated, saw it happen sometimes but not consistently, maybe something related with pipelines / shaders that need rebuilt. Not limited to non RT, but have impression that is where happens most. Try restarting or: ``` env "$W" ./run.sh shaders # translates the game's shaders again env "$W" ./run.sh warm # prepares the pipelines ```
Author
Owner

@⁠soniccd123 on GitHub · 2026-12-04 22:46 UTC · original

@⁠Bushyon I think VICTORY_AMBIENT=5 helps but in fact is only masking the problem by making the shadows look flat

@⁠dbidwell94 I got this too sometimes and seems related, although I don't know how to be sure about it

I was thinking, maybe the game doesn't know how to handle dark spaces without RT on? because, if you think about it, RT is on by default on Series X, i don't think there is a RT-less mode on console

**@⁠soniccd123** on GitHub · 2026-12-04 22:46 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/499#issuecomment-7426320021) @⁠Bushyon I think VICTORY_AMBIENT=5 helps but in fact is only masking the problem by making the shadows look flat @⁠dbidwell94 I got this too sometimes and seems related, although I don't know how to be sure about it I was thinking, maybe the game doesn't know how to handle dark spaces without RT on? because, if you think about it, RT is on by default on Series X, i don't think there is a RT-less mode on console
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/lobomfz--VIctory-xmem#499
No description provided.