17

How can I change my object material to an image texture? I want to be able to export a blender material applied to an object as (for example) a .png file. Is this possible ?

J Sargent
  • 19,269
  • 9
  • 79
  • 131
Suak
  • 173
  • 1
  • 1
  • 4
  • 2
    Well can't you just assign this material to a plane, make the camera orthographic and place it on top of the plane, then hit "render" and save the image as .png? – Polosson Feb 06 '15 at 19:58
  • 1
    This is called baking. Related: http://blender.stackexchange.com/q/13508/599 – gandalf3 Feb 06 '15 at 21:58

2 Answers2

18

One way to do this is if you are using the default internal render engine is to generate a UV Map from an object hosting the material and then bake the texture to an image.

Open the UV/Image Editor and create a new image (you can set the output resolution from here), next select the object, Tab into Edit mode and press U to generate a uv map, for very simple models you can use the default Unwrap or Project from View (for more complicated objects it's also best if you use a simple object with the material on it as opposed to unwrapping a detailed mesh) go to the Render tab and under Bake, you can set the Bake Mode to Textures (if you are using a custom texture) or just use Full Render.

In the image below, I created a simple green material and added a wood texture to it and the did a Full Render bake, the result is shown in the Image Editor on the left. After that, use the Image menu to save it.

enter image description here

iKlsR
  • 43,379
  • 12
  • 156
  • 189
  • 2
    How is this done in 2.8? I tried to do as suggested but got told No active image found in material slot....which is expected because I am trying to use those process to create such an image so that I don't have to use the material. – J L Lacy Jun 26 '20 at 17:29
0

You can go to File > External Data > Unpack all Into Files, and it saved the images as image files in the folder the Blender file was.

Duarte Farrajota Ramos
  • 59,425
  • 39
  • 130
  • 187
MikeB
  • 1