Blender Git Loki

Git Commits -> Revision 9586cc4

Revision 9586cc4 by Lukas Stockner (master)
May 18, 2017, 19:55 (GMT)
Cycles: Cleanup MultiGGX closure implementation

The implementation originally handled four different cases:
Regular glossy, glass, metallic fresnel glossy and diffuse.

However, only the first two are actually used currently. Therefore, this commit
removes the other two, which allows to simplify the code.

Additionally, due to the Principled BSDF, the function arguments are now
identical for glossy and glass, which allows to get rid of some ugly #ifdefs.

Commit Details:

Full Hash: 9586cc4708e2e6b4a7cba6577c70df6656fb0294
Parent Commit: 6bf05ab
Lines Changed: +34, -128

2 Modified Paths:

/intern/cycles/kernel/closure/bsdf_microfacet_multi.h (+6, -42) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet_multi_impl.h (+28, -86) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021