Skip to content

Commit

Permalink
Fix reading shadow filter quality from project settings in compatibility
Browse files Browse the repository at this point in the history
Fixes #83380.
  • Loading branch information
chybby committed Oct 26, 2023
1 parent 46cb7f9 commit b9446dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gles3/rasterizer_scene_gles3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3289,6 +3289,9 @@ RasterizerSceneGLES3::RasterizerSceneGLES3() {
// Quality settings.
use_physical_light_units = GLOBAL_GET("rendering/lights_and_shadows/use_physical_light_units");

positional_soft_shadow_filter_set_quality((RS::ShadowQuality)(int)GLOBAL_GET("rendering/lights_and_shadows/positional_shadow/soft_shadow_filter_quality"));
directional_soft_shadow_filter_set_quality((RS::ShadowQuality)(int)GLOBAL_GET("rendering/lights_and_shadows/directional_shadow/soft_shadow_filter_quality"));

{
// Setup Lights

Expand Down

0 comments on commit b9446dd

Please sign in to comment.