Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment gets brighter with switchable shadows and bouncestyled #382

Closed
fabiolimamp opened this issue Sep 2, 2023 · 1 comment
Closed

Comments

@fabiolimamp
Copy link

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

@fabiolimamp
Copy link
Author

ok, fixed on alpha2. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant