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>2005-04-12 15:45:06 +0400
committerTon Roosendaal <ton@blender.org>2005-04-12 15:45:06 +0400
commit5f237e67cc8cdd829ec53bdd228050086251e123 (patch)
treec1e9ab33199f8f01d7b396e0dbe51b1822480e82 /source/blender/makesdna/DNA_texture_types.h
parent1bde293997b3d2ac7286815da82f6d7a9e082936 (diff)
Bug fix #2323
The addition in 2.36 to correct bumpmapping for View and Object rotation, made many nice bumpmap setups in older files less nice. Especially apparent when you apply "flipped" mappings in "Map Input" Panel, like map the X to Z and the Z to X. A correction then gives wrong results. Since the "correct bumpmapping" is actually a new option, causing extra rendertime too, I've made it an option now. With the "Map To" Panel being fully used, I've put the new button option (temporally I hope) in the first "Texture" Panel in material context. Will be updated in release log page!
Diffstat (limited to 'source/blender/makesdna/DNA_texture_types.h')
-rw-r--r--source/blender/makesdna/DNA_texture_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h
index 14617018910..ccf1e29fff7 100644
--- a/source/blender/makesdna/DNA_texture_types.h
+++ b/source/blender/makesdna/DNA_texture_types.h
@@ -283,6 +283,7 @@ typedef struct Tex {
#define MTEX_STENCIL 2
#define MTEX_NEGATIVE 4
#define MTEX_ALPHAMIX 8
+#define MTEX_VIEWSPACE 16
/* blendtype */
#define MTEX_BLEND 0