From 13d469e6f0c554399629febeb1fd8d680b873a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 13 Aug 2019 00:11:36 +0200 Subject: 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. --- source/blender/makesdna/DNA_material_types.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (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 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 */ -- cgit v1.2.3