Fix #35729: cycles normal maps not showing properly in preview render.

This commit is contained in:
Brecht Van Lommel
2013-06-13 13:55:05 +00:00
parent f173ff531c
commit f9b06060c2
2 changed files with 7 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ shader node_normal_map(
getattribute("geom:is_smooth", is_smooth);
if (!is_smooth)
ninterp = Ng;
ninterp = normalize(transform("world", "object", Ng));
// get _unnormalized_ interpolated normal and tangent
if (getattribute(attr_name, tangent) &&