Cycles: Fix Burley's CDF truncation after recent radius fix

This is all not really ideal, but good enough for tonight.
More thoughts and investigation tomorrow!
This commit is contained in:
Sergey Sharybin 2016-02-08 21:49:59 +01:00
parent 089d2a18d9
commit 2ac88328b0
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ ccl_device void bssrdf_cubic_sample(ShaderClosure *sc, float xi, float *r, float
* effective. Might need some further tweaks.
*/
#define BURLEY_TRUNCATE 30.0f
#define BURLEY_TRUNCATE_CDF 0.973233f // cdf(BURLEY_TRUNCATE)
#define BURLEY_TRUNCATE_CDF 0.999966f // cdf(BURLEY_TRUNCATE)
ccl_device_inline float bssrdf_burley_fitting(float A)
{