diff options
author | Ton Roosendaal <ton@blender.org> | 2004-12-06 00:49:13 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-12-06 00:49:13 +0300 |
commit | 1e811c7886bef99ff81f6990f4337f526c3676bd (patch) | |
tree | b5eed0d27d35c0d5d9c4d3356b3277537a5e6674 /source/blender/makesdna | |
parent | 0b24f20a79c946d9dca7b67e48d7a578d373d789 (diff) |
Bugfix: normal mapping for textures wasn't rotated back to view space,
causing weird results on camera moves or object rotations.
Added: support for "normal maps". See for example:
http://members.shaw.ca/jimht03/normal.html
The Image panel in Texture buttons has new option "Normal Map" for it.
When this is used, normals are read straight from RGB values, and blended
with the current normal.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_texture_types.h | 1 |
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 8e6ec495f52..00e57f5e082 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -220,6 +220,7 @@ typedef struct Tex { #define TEX_ANTIALI 256 #define TEX_ANTISCALE 512 #define TEX_STD_FIELD 1024 +#define TEX_NORMALMAP 2048 #define TEX_LASOPPATCH 8192 #define TEX_MORKPATCH 16384 |