Blender Git Commit Log

Git Commits -> Revision c880e54

Revision c880e54 by Lukas Stockner (master)
May 14, 2020, 22:52 (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: c880e54a95dd352262f71cb0834e01fdfbdf000c
Parent Commit: 8d918fe
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021