Blender Git Loki

Git Commits -> Revision 2d81758

Revision 2d81758 by Brecht Van Lommel (master)
February 21, 2018, 23:55 (GMT)
Cycles: better path termination for transparency.

We now continue transparent paths after diffuse/glossy/transmission/volume
bounces are exceeded. This avoids unexpected boundaries in volumes with
transparent boundaries. It is also required for MIS to work correctly with
transparent surfaces, as we also continue through these in shadow rays.

The main visible changes is that volumes will now be lit by the background
even at volume bounces 0, same as surfaces.

Fixes T53914 and T54103.

Commit Details:

Full Hash: 2d81758aa650256d6b6ed283e43b6c35808ed205
Parent Commit: 84e92f9
Lines Changed: +118, -67

15 Modified Paths:

/intern/cycles/kernel/closure/bsdf_transparent.h (+23, -6) (Diff)
/intern/cycles/kernel/kernel_bake.h (+5, -5) (Diff)
/intern/cycles/kernel/kernel_emission.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_path.h (+3, -6) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+30, -20) (Diff)
/intern/cycles/kernel/kernel_shader.h (+26, -5) (Diff)
/intern/cycles/kernel/kernel_shadow.h (+1, -2) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+11, -0) (Diff)
/intern/cycles/kernel/kernel_volume.h (+6, -13) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_shader_eval.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+2, -2) (Diff)
/intern/cycles/render/osl.cpp (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021