From f48e53f5625b5c4091cddee09154b43ee98ecfdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Fri, 4 May 2018 14:39:05 +0200 Subject: Eevee: Shadows: Separate Cube and Cascade shadow maps into 2 texture array. This mean we can now have different shadow resolutions for both. However each shadow type keep the same size accross all lamps because of future "real" Cube Shadowmaps limitation and to save texture sampler slots. That said the cascade shadow resolution could (in the future) still be changed to be adjustable per sun lamp. --- release/scripts/startup/bl_ui/properties_view_layer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'release/scripts/startup/bl_ui/properties_view_layer.py') diff --git a/release/scripts/startup/bl_ui/properties_view_layer.py b/release/scripts/startup/bl_ui/properties_view_layer.py index 842a3f36fa2..a8128f04bd4 100644 --- a/release/scripts/startup/bl_ui/properties_view_layer.py +++ b/release/scripts/startup/bl_ui/properties_view_layer.py @@ -308,7 +308,8 @@ class VIEWLAYER_PT_eevee_shadows(ViewLayerButtonsPanel, Panel): col = layout.column() col.template_override_property(layer_props, scene_props, "shadow_method") - col.template_override_property(layer_props, scene_props, "shadow_size") + col.template_override_property(layer_props, scene_props, "shadow_cube_size") + col.template_override_property(layer_props, scene_props, "shadow_cascade_size") col.template_override_property(layer_props, scene_props, "shadow_high_bitdepth") -- cgit v1.2.3