Blender Git Commit Log
Git Commits -> Revision c5c5735
Revision c5c5735 by Brecht Van Lommel (cycles-x) April 6, 2021, 14:19 (GMT) |
Cycles: terminate paths in intersect_closest To avoid executing shade_surface kernel and evaluating shaders when not needed. Only execute that kernel now for emissive surface and surfaces with transparent shadows (which can be in front of emissive surfaces), for MIS. |
Commit Details:
Full Hash: c5c57355a2500852045e35edc9065478c3471b73
Parent Commit: 45f95b4
Lines Changed: +57, -16
5 Modified Paths:
/intern/cycles/kernel/integrator/integrator_intersect_closest.h (+48, -2) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_surface.h (+3, -14) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -0) (Diff)
/intern/cycles/render/shader.cpp (+2, -0) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_surface.h (+3, -14) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_volume.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -0) (Diff)
/intern/cycles/render/shader.cpp (+2, -0) (Diff)