Baking texture from material

I’ve created a material in cycles, now I need to bake a texture out of what that material produced. Is there any simple way to do it? In UV map window it shows the mask image I used to mix the textures.


Suppose we have mix like this. Create new image in UV editor and drag icon from image selector into node editor window. Leave image texture node not connected and bake something from bake dropdown list. Save baked image, select next bake type and bake again…
Did i mention you need to keep bake image node selected in node editor - this shows Blender where to bake to.

Exactly what I needed, thanks!