forked from bartvdbraak/blender
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:
parent
ff693959d8
commit
27d20a04b5
@ -63,7 +63,7 @@ static void node_shader_exec_normal_map(void *data, int UNUSED(thread), bNode *n
|
|||||||
|
|
||||||
CLAMP_MIN(strength, 0.0f);
|
CLAMP_MIN(strength, 0.0f);
|
||||||
|
|
||||||
float *N = shi->vno;
|
float *N = shi->nmapnorm;
|
||||||
int uv_index = 0;
|
int uv_index = 0;
|
||||||
switch (nm->space) {
|
switch (nm->space) {
|
||||||
case SHD_NORMAL_MAP_TANGENT:
|
case SHD_NORMAL_MAP_TANGENT:
|
||||||
|
Loading…
Reference in New Issue
Block a user