funk wrote:BUG: Diffuse material emission with a specular material layer not working as expected.
If you have a diffuse material with emission, adding a specular material layer (thin layer), stops the emission color from showing, even when the layer has opacity.
1. Load the ocs and right click > render the diffuse material
2. Unplug/plug in the specular layer a few times to see the difference
3. Plug the specular layer in, and set layer opacity to 0.
When the specular layer is disconnected, the material looks red from the emission.
When the specular layer is connect the material looks dark. I would just expect the material to look red, with a clearcoat on top.
If you drag the layer opacity from 1 to 0, I would expect more of the red to start showing up, instead the material is black.
NOTE: It works as expected using a universal material with built in coating.
EDIT: After playing around with this more, I found it works if you set the diffuse material transmission to white. You dont need to do this with the universal material + coating though, so I still think this may be a bug (especially with layer opacity set to 0).
This is an importance sampling issue, if you increase the diffuse reflection color to non zero, you will see emission.
I can see this can be improved to work more like universal material however, so I'll fix this and put it in the next version.