Blender Git Loki

Git Commits -> Revision 3bbcc4f

June 25, 2020, 08:06 (GMT)
Cycles: Refactor microfacet BSDFs to remove separate anisotropy code

Since the sampling and evaluation functions handle both cases anyways,
there's not really a point for keeping the distinction in the kernel,
so we might as well cut down the number of CLOSURE_BSDF_MICROFACETs a bit.

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

Commit Details:

Full Hash: 3bbcc4f6e8ee9b5e7de2c2c4218965bd23dc05ff
Parent Commit: 58533ac
Committed By: Jeroen Bakker
Lines Changed: +96, -213

9 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+4, -4) (Diff)
/intern/cycles/kernel/closure/bsdf.h (+0, -20) (Diff)
/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h (+1, -10) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet.h (+17, -39) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet_multi.h (+2, -23) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+33, -33) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+29, -65) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -10) (Diff)
/intern/cycles/render/nodes.cpp (+8, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021