Cycles Denoising: Skip feature pass writing for volume-only shaders
authorLukas Stockner <lukas.stockner@freenet.de>
Sun, 21 May 2017 03:40:13 +0000 (05:40 +0200)
committerLukas Stockner <lukas.stockner@freenet.de>
Sun, 21 May 2017 03:40:13 +0000 (05:40 +0200)
commit3bf69b26ef8cce649283d130cdaf4fe3de239415
treec406e8e95fc220c0346a870335714b12db3c07f8
parent96769f3b199f52ada7e4f7cd1f53d4e4a8f906ef
Cycles Denoising: Skip feature pass writing for volume-only shaders

Volume shaders without anything connected to the surface output are treated
as if they had a transparent BSDF as the surface shader in Cycles, so the
denoiser should skip feature pass writing for them just as it does with an
actual transparent BSDF.
intern/cycles/kernel/kernel_passes.h