Merge pull request #83998 from chybby/83380-soft-shadows
Fix reading shadow filter quality from project settings in compatibility
This commit is contained in:
commit
c5c90fd7b7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue