Blender Git Commit Log

Git Commits -> Revision 5ab444b

Revision 5ab444b by Sergey Sharybin (cycles-x)
April 9, 2021, 11:34 (GMT)
Cycles: Fix transmission pass leaking into Combined

Was happening when there are transmission objects in the scene and the
transmission passes are not enabled. The pass offset in the KernelFilm
were left at 0, making it so `kernel_accum_light` believed the pass is
to be written, and the writing was happening into the combined pass.

Maybe we should initialize all passes offsets to PASS_UNUSED, so that
on an incorrect usage we'll have a memory error instead of silently
corrupting the combined pass?

This change fixes the startup file of myself, which is a glass monkey
on a plane.

Commit Details:

Full Hash: 5ab444b0090790b7ace053529a47b4949387d825
Parent Commit: 5efa02f
Lines Changed: +2, -0

1 Modified Path:

/intern/cycles/render/film.cpp (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021