Greetings,
I created a material using the Clear Coat shading model. Once finished I moved on to create a Material Function to use with layers. I copied everything from the original material and connected it. Everything seems to work but the Clear Coat, no matter what values I used. I know there is no way to turn on the shading model in a Material Function, but since the connections for Clear Coat are in the MakeMaterialAttributes node I figured it would work.
I tried connecting the MakeMaterialAttributes to a BreakMaterialAttributes and connecting that to the Output result since that helped me once with a masked material.
I had the same problem with a material that had Opacity and Refraction changes.
What am I doing wrong here? Is there anyway to get it to work? If not, why is the option there?
Normal Material with Clear Coat Shading model turned on
http://i.imgur.com/aEXXZY6.png
Material Function
http://i.imgur.com/2UczjmZ.png
I’ve tried this in both 4.6.1 and 4.7.5