Page MenuHome

Rays from SSS act as diffuse for normal objects but have an undefined type for lamp objects
Closed, ResolvedPublic

Description

System Information
Ubuntu 15.10 x64 Geforce GTX 580

Blender Version
Broken: 2.77a release

Short description of error
When turning off ray visibility in the object tab for lamps, they are still visible for SSS shaders, even when all boxes are un-checked.
Scene with one lamp, all visibilities off, and two cubes with SSS shader:

The expected behaviour is that the lamp becomes invisible for SSS shaders when "diffuse" in un-checked like it works for regular objects.
Same scene, but ground plane got an emission shader assigned and diffuse is turned off for the ground plane. The cubes are not illuminated, because their rays are treated as diffuse rays as expected:

Exact steps for others to reproduce the error


Open attached blend -> turn on rendered view or render.
The only light source in the .blend is a spot lamp that has all ray visibility turned off. The diffuse ground is not illuminated by the lamp but the cubes with SSS are.
When you assign a material with for example emission shader to the plane and turn of the ray visibility of the plane for diffuse rays, the cubes are not illuminated by it, showing that rays from SSS shader are treated as diffuse rays normally.