diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-11 09:34:25 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-11 09:34:25 +0300 |
commit | ae683a22c64e8e184e8602a2c1df1adad2dc8e6d (patch) | |
tree | 683bd04f537b9329238cfb349f38fb9552ed37e3 /intern/cycles | |
parent | 87d74d03bf83e4407e499b8069f9033158d5dfaf (diff) | |
parent | dcce4a59a05245807a4b9a50cc331ce307674981 (diff) |
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/light/sample.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/light/sample.h b/intern/cycles/kernel/light/sample.h index 5acfc92cca1..9bbbd5b0d10 100644 --- a/intern/cycles/kernel/light/sample.h +++ b/intern/cycles/kernel/light/sample.h @@ -143,7 +143,7 @@ ccl_device_inline float3 shadow_ray_smooth_surface_offset( float3 n = N[0] * u + N[1] * v + N[2] * w; /* We get away without normalization */ if (!(sd->object_flag & SD_OBJECT_TRANSFORM_APPLIED)) { - object_normal_transform(kg, sd, &n); /* Normal x scale, world space */ + object_dir_transform(kg, sd, &n); /* Normal x scale, to world space */ } /* Parabolic approximation */ |