Fix T43926: Volume scatter: intersecting objects GPU rendering artifacts
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 23 Mar 2015 07:48:33 +0000 (12:48 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 23 Mar 2015 07:48:33 +0000 (12:48 +0500)
commited7e593a4b129e1367a7f5aa2d0e9036e5363bea
treeff6a0ef264bb39bf264c9ee3323f81a063495933
parent572489ec8936be0dfa1137f497d295e21f9ce693
Fix T43926: Volume scatter: intersecting objects GPU rendering artifacts
Fix T44007: Cycles Volumetrics: block artifacts with overlapping volumes

The issue was caused by uninitialized parameters of some closures, which
lead to unpredictable behavior of shader_merge_closures().
intern/cycles/kernel/closure/bsdf_ashikhmin_velvet.h
intern/cycles/kernel/closure/bsdf_diffuse.h
intern/cycles/kernel/closure/bsdf_diffuse_ramp.h
intern/cycles/kernel/closure/bsdf_phong_ramp.h
intern/cycles/kernel/closure/bsdf_reflection.h
intern/cycles/kernel/closure/bsdf_refraction.h
intern/cycles/kernel/closure/bsdf_transparent.h
intern/cycles/kernel/closure/bssrdf.h
intern/cycles/kernel/closure/volume.h