ericwa/ericw-tools

Environment gets brighter with switchable shadows and bouncestyled

fabiolimamp opened this issue · 1 comments

bmodels with switchable shadows active seem to brighten up its surroundings when used in conjunction with the _bouncestyled worldspawn switch. The extra brightness only shows up while the shadow's style is off - once it's turned on, everything else looks normal.

Notice the walls and the ceiling. Depending on the bmodel's position, the effect seems to vary wildly, getting to extreme brightness changes in some cases.
https://github.com/ericwa/ericw-tools/assets/79285175/9039e96f-a26a-4877-bf6f-3563ed09d9d6

This is without _bouncestyled in worldspawn, It's how it was supposed to look like,
https://github.com/ericwa/ericw-tools/assets/79285175/dc8ce441-83ee-4812-8280-febec16bb76c

Steps to reproduce:

  • _bounce and _bouncestyled set in worldspawn
  • _switchableshadow 1 on a bmodel
  • bmodel's shadow style visible (set to "a" in code)

What I tried:

  • different compiling switches under light.exe (for reference, those videos were compiled with -surflight_radiosity 1 -emissivequality high -gate 0.5)
  • setting _bounce to 0 on the bmodel

Test map, requires Alkaline:
switchableshadow_bug.zip

Tools version: 2.0.0-alpha1

ok, fixed on alpha2. Thanks!