From c0f2cbab4eef7047adc290f9abd8b4ffae6450eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 11 Jul 2017 12:39:20 +0200 Subject: Eevee: Transparency: Add transparent Shadow method UI. --- source/blender/makesdna/DNA_material_types.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_material_types.h') 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 -- cgit v1.2.3