baking textures after texture painting I am trying to bake the textures from this model that I texture painted. When I try baking it the texture comes out black, I have no idea what i'm doing wrong, any help would be appreciated.

Thanks

edit: This is my material that i made by following some tutorials on youtube, and this essentially allows me to paint the textures directly onto my mesh



when I export my model to unity there is no texture, so i tried baking it, and only a black texture came out, I need export the painted texture as a png so i can use it in unity
-Thanks
Ok, so i didn't realize, but you have to add another shader such as the diffuse bsdf shader before you can plug anything into the mix shader, if you dont, then the mix shader wont render