diff options
author | Matt Ebb <matt@mke3.net> | 2008-07-25 05:17:37 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2008-07-25 05:17:37 +0400 |
commit | 846ae7a187a630e0fc413a272917c08cd9fde8af (patch) | |
tree | c668bf689716a9f537624e45c39ab7b1b2a44bd3 /source/blender/nodes/intern/SHD_util.h | |
parent | bbd636df1332e468422230dcfe9108115d903365 (diff) |
* Fix for bug #9450 'Problems with Extended Material node with AmbCol socket'
It turns out the material AmbCol property was never working properly, or even supported in the renderer, so I've removed it. Also included is a fix to make the 'Amb' input work properly too.
Diffstat (limited to 'source/blender/nodes/intern/SHD_util.h')
-rw-r--r-- | source/blender/nodes/intern/SHD_util.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/nodes/intern/SHD_util.h b/source/blender/nodes/intern/SHD_util.h index f75802b7c15..bdb2bb3707d 100644 --- a/source/blender/nodes/intern/SHD_util.h +++ b/source/blender/nodes/intern/SHD_util.h @@ -117,13 +117,12 @@ typedef struct ShaderCallData { #define MAT_IN_REFL 2 #define MAT_IN_NORMAL 3 #define MAT_IN_MIR 4 -#define MAT_IN_AMBCOL 5 -#define MAT_IN_AMB 6 -#define MAT_IN_EMIT 7 -#define MAT_IN_SPECTRA 8 -#define MAT_IN_RAY_MIRROR 9 -#define MAT_IN_ALPHA 10 -#define MAT_IN_TRANSLUCENCY 11 +#define MAT_IN_AMB 5 +#define MAT_IN_EMIT 6 +#define MAT_IN_SPECTRA 7 +#define MAT_IN_RAY_MIRROR 8 +#define MAT_IN_ALPHA 9 +#define MAT_IN_TRANSLUCENCY 10 /* output socket defines */ #define MAT_OUT_COLOR 0 |