Page MenuHome

[cycles] Lightpath/Transparent depth is acting wonky.
Closed, ArchivedPublic

Description

System Information
Win7/x64

Blender Version
Broken: Latest master
Worked: (optional)

Short description of error

I'm trying to create a material where an object is only visible when it is behind a glass plane, should be easy enough.

However the red monkey turns black instead of transparent, also the green money (similar shader just inverted the inputs of the mix node) has some artifacting

Repo steps:

Open up .blend, hit render

Event Timeline

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Archived.Jun 6 2017, 1:42 AM
Brecht Van Lommel (brecht) claimed this task.

With the red monkey the front side faces will become transparent, and then the back side faces will become diffuse again because they are behind a transparent surface. It's black because there's no light entering the inside of the mesh. Making backfacing geometry transparent as well could solve that problem.

For the green monkey the black happens because the max transparency depth of 8 is reached, increasing it solves that.

So no bug here as far as I can tell.

Using backfacing wouldn't work entirely for the monkey by the way, because it's not a closed mesh.

You're absolutely correct ,it works fine when i replace the monkeys with a simple plane! thanks for your insight!