diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-10-07 00:43:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-10-07 00:44:22 +0300 |
commit | dfcdec914ce918adf6c47d3c1e278b5a5c22fb4d (patch) | |
tree | e134600202707818d4aa1f7e6887a0fcd1fe836d /release | |
parent | 9ab18d14f6f1cfe510a2b06ee477498502d1c887 (diff) |
Eevee: Shadows: Add Contact Shadows
This add the possibility to add screen space raytraced shadows to fix light leaking cause by shadows maps.
Theses inherit of the same artifacts as other screenspace methods.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_lamp.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_lamp.py b/release/scripts/startup/bl_ui/properties_data_lamp.py index 861ad81cdcc..40ebdbda75d 100644 --- a/release/scripts/startup/bl_ui/properties_data_lamp.py +++ b/release/scripts/startup/bl_ui/properties_data_lamp.py @@ -401,6 +401,19 @@ class DATA_PT_EEVEE_shadow(DataButtonsPanel, Panel): sub.prop(lamp, "shadow_cascade_max_distance", text="Max Distance") sub.prop(lamp, "shadow_cascade_exponent", text="Distribution") + layout.separator() + + layout.prop(lamp, "use_contact_shadow") + split = layout.split() + split.active = lamp.use_contact_shadow + col = split.column() + col.prop(lamp, "contact_shadow_distance", text="Distance") + col.prop(lamp, "contact_shadow_soft_size", text="Soft") + + col = split.column() + col.prop(lamp, "contact_shadow_bias", text="Bias") + col.prop(lamp, "contact_shadow_thickness", text="Thickness") + class DATA_PT_area(DataButtonsPanel, Panel): bl_label = "Area Shape" |