Diffuse AOV incorrect in Layered Material with Bump

When a bump map is used in the base material of a Layered Material, the first layer of the Layered Material produces incorrect results in the Diffuse AOV.

In the example below, I would expect to only see green and pink checkered squares, no black on the box.

Is this related to my previous bug about the Layered Material (https://forum.corona-renderer.com/ Opacity Colour is multiplied with Diffuse in Layered Material... )?


coronaLayeredDiffuseBug.max (540 KB)

can’t open your scene but tried to replicate and it’s all working to me


corona 1.6.2 maybe in daily build something changed

Are you sure you are looking at the ‘CShading_SourceColor’ render element with the selection set to ‘Diffuse’? Because if you are, then your render is also incorrect, but for what might be different reasons. Because I see different shades of green/pink on the different sides of the box, and it should all be one flat colour with no shading.

I can confirm this in 22.08 1.7 daily build. Easy to reproduce by looking at the material editor in Njen’s post.

(Internal ID=270769991)