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/makesrna/intern/rna_material.c | |
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/makesrna/intern/rna_material.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_material.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c index 6378ee15279..8bfc4bf6313 100644 --- a/source/blender/makesrna/intern/rna_material.c +++ b/source/blender/makesrna/intern/rna_material.c @@ -719,16 +719,6 @@ void RNA_def_material(BlenderRNA *brna) static EnumPropertyItem prop_eevee_blend_items[] = { {MA_BM_SOLID, "OPAQUE", 0, "Opaque", "Render surface without transparency"}, - {MA_BM_ADD, - "ADD", - 0, - "Additive", - "Render surface and blend the result with additive blending"}, - {MA_BM_MULTIPLY, - "MULTIPLY", - 0, - "Multiply", - "Render surface and blend the result with multiplicative blending"}, {MA_BM_CLIP, "CLIP", 0, |