diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-05-03 23:44:22 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-05-03 23:45:58 +0300 |
commit | 874c70d088136f8e1d8c3fc00b6fc69f4e3c2784 (patch) | |
tree | 7db983fa9c615dad5433cf46e062d1d03d6a5d90 /intern/cycles/kernel/kernel_subsurface.h | |
parent | 7149ccee57ceeb305f085719578e5848c58f92d0 (diff) |
Fix errors in Cycles comments
Diffstat (limited to 'intern/cycles/kernel/kernel_subsurface.h')
-rw-r--r-- | intern/cycles/kernel/kernel_subsurface.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/kernel/kernel_subsurface.h b/intern/cycles/kernel/kernel_subsurface.h index 0a56f867158..b70df747a73 100644 --- a/intern/cycles/kernel/kernel_subsurface.h +++ b/intern/cycles/kernel/kernel_subsurface.h @@ -606,10 +606,10 @@ ccl_device_noinline t = ray->t; } else if (bounce == 0) { - /* Restore original position if nothing was hit after the first bounce. - * Otherwise if the ray_offset() to avoid self-intersection is relatively - * large compared to the scattering radius, we go never backup high enough - * to exit the surface. */ + /* Restore original position if nothing was hit after the first bounce, + * without the ray_offset() that was added to avoid self-intersection. + * Otherwise if that offset is relatively large compared to the scattering + * radius, we never go back up high enough to exit the surface. */ ray->P = sd->P; } |