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:
authorClément Foucault <foucault.clem@gmail.com>2018-11-07 02:19:06 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-11-07 02:19:14 +0300
commit451ca8453b54db6a1e2f9613fe7f2904bccbb011 (patch)
tree30c39f9df4065a1814f16b5afd5883ef111a6ee4 /source/blender/nodes
parentb23c68a93730ee77d69cfacc305a01206b9d86cb (diff)
GPU: Make node texture "Blend" parameter interactive.
This parameter is only used for Box projection type.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_tex_image.c2
1 files changed, 1 insertions, 1 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 0b33b186dd2..9782df2638f 100644
--- a/source/blender/nodes/shader/nodes/node_shader_tex_image.c
+++ b/source/blender/nodes/shader/nodes/node_shader_tex_image.c
@@ -124,7 +124,7 @@ static int node_shader_gpu_tex_image(GPUMaterial *mat, bNode *node, bNodeExecDat
norm,
col1, col2, col3,
GPU_image(ima, iuser, isdata),
- GPU_constant(&blend),
+ GPU_uniform(&blend),
&out[0].link,
&out[1].link);
break;