Blender Git Loki

Git Commits -> Revision 69dc0c3

Revision 69dc0c3 by Sergey Sharybin (master)
February 13, 2016, 12:29 (GMT)
Cycles: Fixes for Burley BSSRDF

There are several fixes in here, which hopefully will make the shader
working correct without too much magic in there.

First of all, this commit brings BURLEY_TRUNCATE down from 30 to 16
which reduces noise a lot. It's still higher than original truncate
from Brecht, but this reduces PDF value at a cutoff distance by an
order of magnitude (now it's 0.008387, previously it was 0.063521
for the albedo of 0.8 and radius 1.0). This should converge to a
proper result faster and don't have artifacts.

This kind of reverts fix for T47356, but after additional thinking
came to conclusion Burley is not being totally smooth, it is about
giving less waxy results which it's kind of doing in the file.

Second of all, this commit fixes burley_eval() to use normalized
diffusion reflectance. This matches the way we calculate CDF and
solves numeric instability close to 0, making PDF profile looking
closer to other SSS profiles:

https://developer.blender.org/F282355
https://developer.blender.org/F282356
https://developer.blender.org/F282357

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D1792

Commit Details:

Full Hash: 69dc0c319277480dda17d47fa3899b946b965768
Parent Commit: 83dc288
Lines Changed: +10, -10

1 Modified Path:

/intern/cycles/kernel/closure/bssrdf.h (+10, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021