Blender Git Commit Log
Git Commits -> Revision d80d23e
Revision d80d23e by Sergey Sharybin (cycles-x) September 17, 2021, 08:25 (GMT) |
Fix pass accessor with 0 samples Avoid division by zero when calculating scale, and avoid multiplication by inf later on. The pixel processing functions are changed so that they return fully transparent pixel for pixels where number of samples is 0. This allows to have matched behavior of non-finished tiles with master, without relying on non-finite math. The extra condition when calculating scale is inevitable, and hopefully the pixel processing function's if statement gets folded into it as well ()due to force-inline). Differential Revision: https://developer.blender.org/D12518 |
Commit Details:
Full Hash: d80d23e542f1e49d827f77b29e107057c1bc9a58
Parent Commit: 85f060d
Lines Changed: +36, -6
1 Modified Path:
/intern/cycles/kernel/kernel_film.h (+36, -6) (Diff)