Blender Git Commit Log

Git Commits -> Revision bd2b1a6

Revision bd2b1a6 by Patrick Mours (master)
March 26, 2020, 12:00 (GMT)
Fix T74939: Random Walk subsurface appearance in OptiX does not match other engines

Random Walk subsurface scattering did look different with OptiX because transmittance is
calculated based on the hit distance, but the OptiX implementation of `scene_intersect_local`
would return the distance in world space, while the Cycles BVH version returns it in object
space. This fixes the problem by simply skipping the object->world transforms in all the
places using the result of `scene_intersect_local` with OptiX.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D7232

Commit Details:

Full Hash: bd2b1a67a7b9444cc0dbabe0f46e5a512c3eb7e5
Parent Commit: 08b9b95
Lines Changed: +32, -17

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020