21ca47d81f16a701ea72ae03599b5e919f647d85
bsdf_microfacet.h for better readability
1. move early-out logic even earlier 2. reduced the scope of some variables 3. return `label` at the end of `bsdf_microfacet_sample()`. Return `LABEL_NONE` in the invalid case. The previous distinction was unnecessary because samples with zero contribution are assigned with `LABEL_NONE` in `integrate_surface_bsdf_bssrdf_bounce()` anyway.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
11%
C
6.3%
GLSL
2.2%
CMake
1.3%
Other
1.1%
