star-sf

Set of surface and volume scattering functions
git clone git://git.meso-star.fr/star-sf.git
Log | Files | Refs | README | LICENSE

commit 6293b156be2930277cdd4e76e299d2ddd054e2b8
parent f0533842d772e7f0502b067086d8d8dde803a098
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 15 Nov 2018 15:32:10 +0100

Comment the pillbox microfacet distribution

Diffstat:
Msrc/ssf.h | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/ssf.h b/src/ssf.h @@ -293,7 +293,9 @@ SSF_API const struct ssf_microfacet_distribution_type ssf_beckmann_distribution; SSF_API const struct ssf_microfacet_distribution_type ssf_blinn_distribution; /* Pillbox microfacet distribution. - * D(wh) = TODO comment this */ + * | 0; if |wh.N| >= m + * D(wh) = | 1 / (PI * (1 - cos^2(m))); if |wh.N| < m + * with `m' the roughness parameter in ]0, 1] */ SSF_API const struct ssf_microfacet_distribution_type ssf_pillbox_distribution; /*******************************************************************************