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
Disable dynamic shadow dropdown on OGLES2 #12637
Conversation
Hello! Sorry for the question. |
The shaders would have to be completely rewritten for Ogles2. |
Yes, the current dynamic shadows implementation does not work on OGLES2, see #11339. |
If I check the shader checkbox this happens and the mainmenu never works afterwards:
|
looks like I forgot to use |
You're also setting the boolean everytime the formspec is generated, that seems suboptimal. |
Yeah I personally don't think the setting should be explicitly set to disabled like that, but it was a suggestion from Krock yesterday to prevent someone from accidentally enabling it. |
If at all that's the job of C++ imo. Edit: another one |
Yeah so adding |
Done. Please test this, as I haven't tested the C++ changes (still compiling) |
This reverts commit 6dd705b.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested
As dynamic shadows will not be functional on OGLES2 for 5.6.0, the relevant dropdown should be hidden in the settings to prevent someone accidentally enabling it.
To do
This PR is Ready for Review.
How to test
Check so the dynamic shadow dropdown doesn't show up on OGLES2.