Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-05-15 13:03:26 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-15 13:03:49 +0300
commit0819013eb45532e2ac26c725d09a4c74478e85d7 (patch)
tree008428ac7ef93d078bbdea1c7319aa0ba0387fc2 /release/scripts/startup/bl_ui/properties_material.py
parentcf1a945e5ad570e9ae159b569a2a3cfc11874f98 (diff)
Eevee: Add per material option to cull backfaces
This is in order to have more flexibility and to have an explicit option for final renders.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_material.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_material.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py
index 79efd92f222..dde67e27f37 100644
--- a/release/scripts/startup/bl_ui/properties_material.py
+++ b/release/scripts/startup/bl_ui/properties_material.py
@@ -212,6 +212,7 @@ class EEVEE_MATERIAL_PT_settings(MaterialButtonsPanel, Panel):
mat = context.material
+ layout.prop(mat, "use_backface_culling")
layout.prop(mat, "blend_method")
layout.prop(mat, "shadow_method")