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:
authorCharlie Jolly <mistajolly@gmail.com>2020-01-27 18:04:49 +0300
committerCharlie Jolly <mistajolly@gmail.com>2020-01-27 18:47:51 +0300
commit20e803ac6bc655d4d7ffbf02e797b4ab1f3ba0ed (patch)
tree0fac7771e538287634151dba4285ef25b7043a67 /source/blender/nodes
parent84c537e68528177ef982479f5884af07cec322b9 (diff)
Shading: Add color output to White Noise node
Hash input values to a color. Differential Revision: https://developer.blender.org/D6672
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_tex_white_noise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.c b/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.c
index ec4fedec27c..0dfacb19729 100644
--- a/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.c
+++ b/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.c
@@ -28,6 +28,7 @@ static bNodeSocketTemplate sh_node_tex_white_noise_in[] = {
static bNodeSocketTemplate sh_node_tex_white_noise_out[] = {
{SOCK_FLOAT, 0, N_("Value")},
+ {SOCK_RGBA, 0, N_("Color")},
{-1, 0, ""},
};