diff options
Diffstat (limited to 'intern/cycles/kernel/shaders/node_geometry.osl')
-rw-r--r-- | intern/cycles/kernel/shaders/node_geometry.osl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/kernel/shaders/node_geometry.osl b/intern/cycles/kernel/shaders/node_geometry.osl index d1c11b70081..3d5d67360ce 100644 --- a/intern/cycles/kernel/shaders/node_geometry.osl +++ b/intern/cycles/kernel/shaders/node_geometry.osl @@ -56,8 +56,7 @@ shader node_geometry( 0.0, 0.0, 0.0, 0.0, 0.5, -0.5, 0.0, 1.0); - vector T = transform(project, generated); - T = transform("object", "world", T); + vector T = transform("object", "world", transform(project, generated)); Tangent = cross(Normal, normalize(cross(T, Normal))); } else { |