From 49c73f2f228d736e1f63b3ef8ea79ccc4ed9a763 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 10 Jul 2014 17:55:56 +0600 Subject: Cycles: Add link to a paper used for Beckmann table calculation This is for those who'll be reading code and trying to improve it. --- intern/cycles/render/shader.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'intern/cycles/render') diff --git a/intern/cycles/render/shader.cpp b/intern/cycles/render/shader.cpp index 351efcac7a8..927918689f1 100644 --- a/intern/cycles/render/shader.cpp +++ b/intern/cycles/render/shader.cpp @@ -45,6 +45,11 @@ static float beckmann_table_slope_max() return 6.0; } +/* Paper used: Importance Sampling Microfacet-Based BSDFs with the + * Distribution of Visible Normals. Supplemental Material 2/2. + * + * http://hal.inria.fr/docs/01/00/66/20/ANNEX/supplemental2.pdf + */ static void beckmann_table_rows(float *table, int row_from, int row_to) { /* allocate temporary data */ -- cgit v1.2.3