From 90d4f7a3c1f6f789df61f348f974813a260014f5 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 2 Jul 2004 22:29:06 +0000 Subject: Added new operators for "MapTo" panel as suggested & partially coded by Kent Mein. So next to the mix, mult, add, sub we have now: - Div: divides by texture color - Screen: is like Mult, but works opposite (makes lighter) - Diff: the difference between texture color and material - Light: if texture is lighter it shows (per component) - Dark: if texture is darker it shows (per component) Next step: add this for specular and mirror, and the other channels... I commit it now because it also fixes error in previous commit. --- source/blender/makesdna/DNA_texture_types.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/makesdna/DNA_texture_types.h') diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h index c637a5e1e76..8e6ec495f52 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -272,6 +272,11 @@ typedef struct Tex { #define MTEX_MUL 1 #define MTEX_ADD 2 #define MTEX_SUB 3 +#define MTEX_DIV 4 +#define MTEX_DARK 5 +#define MTEX_DIFF 6 +#define MTEX_LIGHT 7 +#define MTEX_SCREEN 8 /* **************** EnvMap ********************* */ -- cgit v1.2.3