Blender Git Commit Log

Git Commits -> Revision b03ac83

Revision b03ac83 by Sergey Sharybin (master)
February 10, 2015, 13:20 (GMT)
Cycles: Correction to glossy shaders not handling total internal reflection

The issue was caused by lack of check for whether fresnel term is actually
giving total internal reflection in refraction BSDFs. This lead to usage of
arbitrary vector of (0, 0, 0) as reflection, giving numeric issues in other
areas of the kernel.

This gives some visual changes of sharp reflection but it seems to be rather
proper now. Which also corresponds with rough glossy reflection with sharpness
set to 0.001 (previously it was totally different from sharpness of 0.0, which
is just weird).

Commit Details:

Full Hash: b03ac8384389a4ad34bd6bcf0cc7be204c7ada9f
Parent Commit: 298d868
Lines Changed: +9, -8

2 Modified Paths:

/intern/cycles/kernel/closure/bsdf_microfacet.h (+6, -6) (Diff)
/intern/cycles/kernel/closure/bsdf_refraction.h (+3, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021