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>2017-07-10 19:34:33 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-07-11 13:39:35 +0300
commita57bc75576e780797a60e2240a12f49247ca9505 (patch)
tree1382ae0ecbeac165407d2b4c14b0e0fa40c02782 /source/blender/makesdna/DNA_material_types.h
parenta098d02718c64ed34838914bac19aebba76c5e4e (diff)
Eevee: Transparency: Add hide backside option.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r--source/blender/makesdna/DNA_material_types.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index c7d7ff1e5db..4af8ec70b8d 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -213,7 +213,9 @@ typedef struct Material {
/* Transparency */
float alpha_threshold;
- char blend_method, pad6[3];
+ char blend_method;
+ char blend_flag;
+ char pad6[2];
/* image to use for image/uv space, also bake target
* (not to be used shading/rendering pipeline, this is editor featyure only!). */
@@ -505,5 +507,10 @@ enum {
MA_BM_BLEND,
};
+/* blend_flag */
+enum {
+ MA_BL_HIDE_BACKSIDE = (1 << 0),
+};
+
#endif