diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-08-10 00:48:42 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-08-10 16:43:48 +0300 |
commit | 7641f92710a09ea089748896bbad0bf5383ba349 (patch) | |
tree | 4154777065ee5930ac8323a87efb38302433cb27 /release/scripts/startup/bl_ui/properties_material.py | |
parent | 7ef8a49ad5b119b3a08e1313eec051e320dcc3d2 (diff) |
Eevee: Refraction: Make it available for opaque materials.
Theses Materials are rendered after the SSR pass.
The only difference with previous method is that they have a depth prepass (less overdraw) and are not sorted.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_material.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py index 1ad4a5160ce..02025f458e4 100644 --- a/release/scripts/startup/bl_ui/properties_material.py +++ b/release/scripts/startup/bl_ui/properties_material.py @@ -1182,7 +1182,8 @@ class EEVEE_MATERIAL_PT_options(MaterialButtonsPanel, Panel): if mat.blend_method not in {"OPAQUE", "CLIP", "HASHED"}: layout.prop(mat, "transparent_hide_backside") - layout.prop(mat, "transparent_refraction") + + layout.prop(mat, "transparent_screen_refraction") |