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:
authorJuho Vepsalainen <bebraw@gmail.com>2007-08-20 15:05:14 +0400
committerJuho Vepsalainen <bebraw@gmail.com>2007-08-20 15:05:14 +0400
commitc3b1877b4f538d68697b56035823fe08572c080d (patch)
tree9ebfff2dcf43f4a91d0a763d668ce65525bda8ef /source/blender/blenkernel/intern
parente8c39a5864a400971891932a8580d7e0784c334d (diff)
"Combine RGB" and "Separate RGB" material nodes:
These nodes allow the user to separate and combine RGB color channels as in the composite node editor. However they don't contain Alpha channel as it is treated separately in case of material nodes. "Combine RGB" allows the user to use values beyond standard float range ([0.0, 1.0]) if value input node is used to feed the value to it.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/node.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c
index b140993a55b..0ce3e634a62 100644
--- a/source/blender/blenkernel/intern/node.c
+++ b/source/blender/blenkernel/intern/node.c
@@ -2389,6 +2389,8 @@ static void registerShaderNodes(ListBase *ntypelist)
nodeRegisterType(ntypelist, &sh_node_rgb);
nodeRegisterType(ntypelist, &sh_node_texture);
nodeRegisterType(ntypelist, &sh_node_invert);
+ nodeRegisterType(ntypelist, &sh_node_seprgb);
+ nodeRegisterType(ntypelist, &sh_node_combrgb);
}
void init_nodesystem(void)