control which objects things are visible to (such as environments)
What I'm proposing is two new outputs on the light path node, a material ID output, and a object ID output. This would output the ID which the ray is currently hitting.
See below example. All materials with a material ID greater than 4 will be lit/reflect a solid green environment, everything else will get the environment texture.
0 Comments