Fix T41044 Cycles Bake: world space location affects object space normal pass
This commit is contained in:
parent
48eececdba
commit
50d30148b6
Notes:
blender-bot
2023-02-14 10:21:16 +01:00
Referenced by issue #41079, Solid black render of object with negative scale and smooth shading Referenced by issue #41044, Cycles Bake: world space location affects object space normal pass
|
@ -852,7 +852,8 @@ void RE_bake_normal_world_to_object(
|
|||
offset = i * depth;
|
||||
normal_uncompress(nor, &result[offset]);
|
||||
|
||||
mul_m4_v3(iobmat, nor);
|
||||
/* rotates only without translation */
|
||||
mul_mat3_m4_v3(iobmat, nor);
|
||||
normalize_v3(nor);
|
||||
|
||||
/* save back the values */
|
||||
|
|
Loading…
Reference in New Issue