diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-03-28 13:07:43 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-03-28 13:07:43 +0400 |
commit | 0dd34081231ee816275d0f2c41cfdbb725b5825f (patch) | |
tree | dc01896ca86699403b883db6eac74767807fdfb4 /source/blender | |
parent | d87995a6b1d03aaa647c9233ca2e6469f2ef7805 (diff) |
Cycles: add alpha output to image node.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_tex_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_image.c b/source/blender/nodes/shader/nodes/node_shader_tex_image.c index 69e45469174..28dcada3d33 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_image.c +++ b/source/blender/nodes/shader/nodes/node_shader_tex_image.c @@ -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, "" } }; |