How do I create a shader that is partially emissive for a particular colour, but diffuse if it's grey? So, I'm trying to make some material that's like lava, with solid, diffuse, grey material, and an emissive shader that's red and orange, using a musgrave and colorramp node. This is a screenshot. How would I accomplish overlaying the the bright emissive parts over the black diffuse? Would I use a transparent colourramp or something?
This is a screenshot:
You need to plug another texture in the Fac port of the Mix Shader node, it will separate the emission and diffuse shaders, like so: