1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix bloom with post_processing_texture_bits < 16

This commit is contained in:
sfan5 2024-12-13 13:49:49 +01:00
parent 7354cbe463
commit eb8beb335e
3 changed files with 27 additions and 9 deletions

View file

@ -571,7 +571,9 @@ void set_default_settings()
// Note: OpenGL ES 2.0 is not guaranteed to provide depth textures,
// which we would need for PP.
settings->setDefault("enable_post_processing", "false");
// still set these two settings in case someone wants to enable it
settings->setDefault("debanding", "false");
settings->setDefault("post_processing_texture_bits", "8");
settings->setDefault("curl_verify_cert", "false");
// Apply settings according to screen size