Cycles: add alpha output to image node.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 28 Mar 2012 09:07:43 +0000 (09:07 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 28 Mar 2012 09:07:43 +0000 (09:07 +0000)
source/blender/nodes/shader/nodes/node_shader_tex_image.c

index 69e454691744b3b5632e8aad5d20f931c1b8932c..28dcada3d339eeab533c1e6eba0ed9610d8f2a0f 100644 (file)
@@ -36,6 +36,7 @@ static bNodeSocketTemplate sh_node_tex_image_in[]= {
 
 static bNodeSocketTemplate sh_node_tex_image_out[]= {
        {       SOCK_RGBA, 0, "Color",          0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
+       {       SOCK_FLOAT, 0, "Alpha",         0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
        {       -1, 0, ""       }
 };