Fix unreported bug in Blender Render: using unnormalized normal in normal map node in the same way as in baking

This commit is contained in:
Alexander Romanov 2017-03-31 17:53:55 +03:00
parent ff693959d8
commit 27d20a04b5
1 changed files with 1 additions and 1 deletions

View File

@ -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: