Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-07-03 02:29:06 +0400
committerTon Roosendaal <ton@blender.org>2004-07-03 02:29:06 +0400
commit90d4f7a3c1f6f789df61f348f974813a260014f5 (patch)
treebc22ac2605ab65f5a09b7e49fe97127cb6f0de3c /source/blender/makesdna/DNA_texture_types.h
parent326f3c3d6a40a5d31189d903c87e5fe23f132b40 (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_texture_types.h')
-rw-r--r--source/blender/makesdna/DNA_texture_types.h5
1 files changed, 5 insertions, 0 deletions
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 ********************* */