Page MenuHome

Cycles doesn't update viewport rendering when Is Shadow Ray is used as a mix factor the first time
Closed, ResolvedPublic


System Information
Win 7 x64

Blender Version
Broken in master as of Sept 9 2015

Short description of error
When adding a material in your scene that uses the Is Shadow Ray light path as a mix factor, viewport rendering doesn't update correctly. Stopping and restarting rendering causes it to update correctly, and it updates correctly in all cases after the original error.

Exact steps for others to reproduce the error
Doesn't seem to work with a saved/loaded file, sorry.

My steps to recreate are: create a new file, create a sphere on top of a plane, add sun lamp, start preview rendering, add material to sphere with diffuse and transparent mixed via Is Shadow Ray.

Image one shows result after above steps, image two shows the result after hitting shift + z twice

Event Timeline

Matt Heimlich (m9105826) set Type to Bug.
Matt Heimlich (m9105826) updated the task description. (Show Details)
Matt Heimlich (m9105826) created this task.
Matt Heimlich (m9105826) raised the priority of this task from to Needs Triage by Developer.
Thomas Dinges (dingto) triaged this task as Confirmed, Medium priority.

I assume this is another case of the integrator not updating, after inserting the transparent shader. See optimization in Integrator::device_update() for transparent shadows.