diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-07-11 13:39:20 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-07-11 13:39:35 +0300 |
commit | c0f2cbab4eef7047adc290f9abd8b4ffae6450eb (patch) | |
tree | 1d62033031b8f741841c4637304742d65d667aad /source/blender/makesdna/DNA_material_types.h | |
parent | ec9330d206494a934df64d52f133c920d2ea41d3 (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.h | 11 |
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 |