-
Notifications
You must be signed in to change notification settings - Fork 80
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
Setting clip_area is broken. #340
Comments
…e/anura/issues/340. - To reproduce the bug, the exact toggle is liquid.cfg:85, `end_zorder: -91,`, vs `-90`.
And now, coming at it from the other end, we have Frogatto's maximal-clip-area-bug branch. It seems that tweaking the liquid shader's end_zorder is enough to fix or break clip_area. |
|
In level.cpp, commenting out |
I think shaders are setting something elsewhere, as as far as I can tell the critical path for them is |
I have applied a general hack around this for Frogatto. Search for the _add_shader_fix_for_clip_area_to_fix_anura_issue_340 in the FFL there. |
To reproduce: Check out Frogatto's minimal-clip-area-bug branch. Run
./anura --level=test.cfg
.The coin on screen should turn invisible, but instead of just darkens as a result of the
set(brightness, 128)
call right before theset(clip_area, ...)
call.Notes:
The text was updated successfully, but these errors were encountered: