appleseed icon indicating copy to clipboard operation
appleseed copied to clipboard

Direct lighting still visible in reflections even when it's disabled

Open usakhelo opened this issue 4 years ago • 2 comments

Hi, This issue is visible when non-physical lights are used. There are spot lights in this scene but direct lighting is disabled. Nonetheless shadows and lighting is visible in reflection: image

I think it comes from this line in on_scatter function in ptlightingengine.cpp

if (m_params.m_enable_dl || vertex.m_path_length > 1)
{

usakhelo avatar May 05 '20 22:05 usakhelo

Visible in reflection and direct lighting are two different things right ?

oktomus avatar May 08 '20 14:05 oktomus

Yes, I think the definition of direct lighting is lighting provided from a source without reflection from other surfaces.

If you set the object visibility flags for shadow, specular and glossy to off for the yellow pot you should have no reflected image visible.

Mango-3 avatar May 09 '20 08:05 Mango-3