diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-08-13 01:11:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-08-14 14:36:56 +0300 |
commit | 13d469e6f0c554399629febeb1fd8d680b873a90 (patch) | |
tree | 16d8812da3b9cc1295a4693e1ec3e6687e1ae36f /source/blender/makesdna/DNA_material_types.h | |
parent | d5002f007e8d770dea15f0881cd9d0a4f3aaf824 (diff) |
Eevee: Remove Additive & Multiply Blend mode
This commit also provide a compatibility code that will convert old
materials using Additive or Multiply Blend mode to their node equivalent.
This conversion is only done on outputs that are enabled for eevee.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 152ecb85991..1d1ccef8846 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -306,12 +306,12 @@ typedef struct Material { /* blend_method */ enum { - MA_BM_SOLID, - MA_BM_ADD, - MA_BM_MULTIPLY, - MA_BM_CLIP, - MA_BM_HASHED, - MA_BM_BLEND, + MA_BM_SOLID = 0, + // MA_BM_ADD = 1, /* deprecated */ + // MA_BM_MULTIPLY = 2, /* deprecated */ + MA_BM_CLIP = 3, + MA_BM_HASHED = 4, + MA_BM_BLEND = 5, }; /* blend_flag */ |