20
$\begingroup$

I followed the guide here: How do I bake a texture using Cycles bake

I unwrapped my UV, created a new image, created an Image Texture node and selected my new image with that, and hit bake. I then receive the error in the title. Here is a screenshot of my view: enter image description here

I'm definitely doing something wrong, hopefully one of you can point out what that is.

$\endgroup$
3
  • 2
    $\begingroup$ You have empty material slot maybe that's the problem? $\endgroup$
    – Denis
    Commented May 18, 2015 at 21:55
  • $\begingroup$ That worked! Thanks Dennis, I appreciate the answer. You can go ahead and write one and I'll mark it. $\endgroup$ Commented May 18, 2015 at 22:05
  • $\begingroup$ Try to go to the top of the bar and switch the cycle renders to Blender Render $\endgroup$
    – user64555
    Commented Nov 11, 2018 at 3:31

2 Answers 2

14
$\begingroup$

For baking in cycles each material slot requires image texture in the node setup, and it looks like even if the material slot is empty. To fix the error, remove the empty material slot from the object.

$\endgroup$
6
  • $\begingroup$ Do you think this should be reported as a bug? $\endgroup$ Commented May 18, 2015 at 22:20
  • $\begingroup$ @RayMairlot That's quite rare for experienced user to have something like that. I dont think that will be considered as a bug because logically that's how it supposed to work. $\endgroup$
    – Denis
    Commented May 18, 2015 at 22:36
  • 7
    $\begingroup$ I'm not a fan of the above comment. You shouldn't have had to hack your way through this issue and it's unclear messaging multiple times to be able to avoid it. Bake should either be more intelligent, or at least be a lot more clear with the error messaging. $\endgroup$
    – Tyguy7
    Commented Aug 1, 2019 at 23:10
  • 1
    $\begingroup$ I have the same issue, but I'm new to blender and have no idea where an empty material slot is? More help is definitely desired for newbies! $\endgroup$
    – CromeX
    Commented Mar 31, 2021 at 21:24
  • $\begingroup$ O geez that is dumb.. have to have the node with an image texture selected.. Maybe update the error comment $\endgroup$
    – CromeX
    Commented Mar 31, 2021 at 21:27
8
$\begingroup$

For Blender beginners like me, here is a much clearer and more detailed guide:

  • Go to 'Shading' view
  • For each material used by your mesh:
    • Inside the side-pane, select the material
    • Inside the Node Editor window, create a new Image Texture node (Add > Texture > Image Texture). You literally don't have to connect this to any other nodes. Yeah I know, this is a very strange process.
    • In that Image Texture node, select or create a new image where the bake output will go.
      • If you're using multiple materials, you can re-use the same image inside their Image Texture node.
  • Make sure you have your mesh selected
  • Hit 'bake' and voila
$\endgroup$
2
  • 2
    $\begingroup$ This is way more helpful than the accepted answer. It's truly unfortunate it has so few votes. $\endgroup$
    – Matthew
    Commented Sep 1, 2022 at 5:08
  • 1
    $\begingroup$ @Matthew is right. It still feels akward doing it as a fix, but at least it is working. And the instructions are cear on this answer. Upvoted. Thank you! $\endgroup$
    – C4d
    Commented Apr 5, 2023 at 12:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .