Page MenuHome

Fix T39823: SSS scatter doesn't update volume stack, causing shading artifacts
ClosedPublic

Authored by Sergey Sharybin (sergey) on Sep 18 2014, 1:18 PM.

Details

Summary

Basically the title says it all, we need to update volume stack when doing ray
scatter for SSS. This leads to speed regressions in cases scene does have both
volume and SSS (performance in case there's no SSS or no volume should be the
same).

We might try optimizing kernel_path_subsurface_update_volume_stack() a bit by
either recording all intersections or using some more appropriate visibility
flags.

Diff Detail

Repository
rB Blender
Branch
cycles_sss_volume_fix

Event Timeline

Sergey Sharybin (sergey) retitled this revision from to Fix T39823: SSS scatter doesn't update volume stack, causing shading artifacts.
Sergey Sharybin (sergey) updated this object.

Solved infinite loop happening when ray_offset moves us behind the Pend

This revision was automatically updated to reflect the committed changes.