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:
authorAlexander Romanov <a.romanov@blend4web.com>2017-03-31 17:53:55 +0300
committerAlexander Romanov <a.romanov@blend4web.com>2017-03-31 17:53:55 +0300
commit27d20a04b54e334784eeb0ec8d440fd6707d9fa3 (patch)
treec10239557e478d02554facb48878732b80fc2f36
parentff693959d89aeb7f763e0286f6fe63bdde20057c (diff)
Fix unreported bug in Blender Render: using unnormalized normal in normal map node in the same way as in baking
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_normal_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_normal_map.c b/source/blender/nodes/shader/nodes/node_shader_normal_map.c
index 48d1688c386..e0bf34f42e4 100644
--- a/source/blender/nodes/shader/nodes/node_shader_normal_map.c
+++ b/source/blender/nodes/shader/nodes/node_shader_normal_map.c
@@ -63,7 +63,7 @@ static void node_shader_exec_normal_map(void *data, int UNUSED(thread), bNode *n
CLAMP_MIN(strength, 0.0f);
- float *N = shi->vno;
+ float *N = shi->nmapnorm;
int uv_index = 0;
switch (nm->space) {
case SHD_NORMAL_MAP_TANGENT: