Blender Git Commit Log

Git Commits -> Revision da1d462

August 6, 2016, 03:19 (GMT)
Cycles: Replace NaNs in the feature passes with zero

As soon as any feature pass sample is NaN, every pixel which contains that sample in its filter window will be black in the filtered result.
Ideally no NaNs should be generated in the first place, but there are quite a few cases where they are generated in Cycles and now become visible.
So, as a temporary fix, NaNs are now replaced with zero when storing the passes. Ideally these NaNs should be fixed for good, of course.

Commit Details:

Full Hash: da1d462467369e7b9f16edcc2e8d82c5d0eadbe2
Parent Commit: 2be1f63
Lines Changed: +18, -4

2 Modified Paths:

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