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-11 13:39:20 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-07-11 13:39:35 +0300
commitc0f2cbab4eef7047adc290f9abd8b4ffae6450eb (patch)
tree1d62033031b8f741841c4637304742d65d667aad /source/blender/makesdna/DNA_material_types.h
parentec9330d206494a934df64d52f133c920d2ea41d3 (diff)
Eevee: Transparency: Add transparent Shadow method UI.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r--source/blender/makesdna/DNA_material_types.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 4af8ec70b8d..41ad12e63f2 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -214,8 +214,9 @@ typedef struct Material {
/* Transparency */
float alpha_threshold;
char blend_method;
+ char blend_shadow;
char blend_flag;
- char pad6[2];
+ char pad6;
/* image to use for image/uv space, also bake target
* (not to be used shading/rendering pipeline, this is editor featyure only!). */
@@ -512,5 +513,13 @@ enum {
MA_BL_HIDE_BACKSIDE = (1 << 0),
};
+/* blend_shadow */
+enum {
+ MA_BS_NONE = 0,
+ MA_BS_SOLID,
+ MA_BS_CLIP,
+ MA_BS_HASHED,
+};
+
#endif