diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-05-04 15:39:05 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-05-04 17:22:23 +0300 |
commit | f48e53f5625b5c4091cddee09154b43ee98ecfdb (patch) | |
tree | 6c9361360d1bc5631795c97650523f675758d325 /release/scripts/startup/bl_ui/properties_view_layer.py | |
parent | d4dd872d56b34f9ce0b03d570cddff52460b5b0f (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_view_layer.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_view_layer.py | 3 |
1 files changed, 2 insertions, 1 deletions
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") |