Blender Git Loki
Git Commits -> Revision a2d3380
June 4, 2016, 19:37 (GMT) |
Cycles: Add a roughness variable to ShaderClosures to be used for the denoise feature heuristic To produce better results for sharp reflections/refractions, the denoise features are only written at the first rough/diffuse bounce. To determine whether the current bounce is rough/diffuse or not, the roughness of the individual closures will be used. Also, the PathState tracks the total length of the path, for the same reason (it might not be written at the first bounce). |
Commit Details:
Full Hash: a2d338091b727f48f8bbc8fb5b65434da09a7e2f
Parent Commit: 15decbd
Lines Changed: +27, -3
9 Modified Paths:
/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h (+3, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_hair.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet.h (+10, -2) (Diff)
/intern/cycles/kernel/closure/bsdf_reflection.h (+1, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_refraction.h (+1, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_transparent.h (+1, -0) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+5, -1) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_hair.h (+2, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet.h (+10, -2) (Diff)
/intern/cycles/kernel/closure/bsdf_reflection.h (+1, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_refraction.h (+1, -0) (Diff)
/intern/cycles/kernel/closure/bsdf_transparent.h (+1, -0) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+2, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+5, -1) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+2, -0) (Diff)