commit b388fd6822edd4712e9a14f4b678e65100d38c0d
parent 0e0e19d032035812014aeb9b0e4640eb08a22156
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 13 Dec 2017 15:31:15 +0100
Merge branch 'release_0.7.1'
Diffstat:
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -26,6 +26,11 @@ variable the install directories of its dependencies.
## Release notes
+### Version 0.7.1
+
+- Fix the creation of a glossy BSDF that uses a pillbox microfacet
+ distribution.
+
### Version 0.7
- Add the Gaussian sun shape.
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -51,7 +51,7 @@ rcmake_append_runtime_dirs(_runtime_dirs RSys Star3D Star3DUT StarCPR StarSF Sta
################################################################################
set(VERSION_MAJOR 0)
set(VERSION_MINOR 7)
-set(VERSION_PATCH 0)
+set(VERSION_PATCH 1)
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
set(SSOL_FILES_SRC
diff --git a/src/ssol_material.c b/src/ssol_material.c
@@ -196,7 +196,7 @@ create_mirror_bsdf
res = ssf_microfacet_distribution_create
(mtl->dev->allocator, &ssf_pillbox_distribution, &distrib);
if(res != RES_OK) goto error;
- res = ssf_beckmann_distribution_setup(distrib, roughness);
+ res = ssf_pillbox_distribution_setup(distrib, roughness);
if(res != RES_OK) goto error;
break;
default: FATAL("Unreachable code.\n"); break;