1

I try to bake the diffuse map of my box model in cycles render engine, but I get extremly weird results:

I made a short video: https://youtu.be/bwoLJ8psZ2E

  1. This is my model:

enter image description here

  1. it is a model which consists of multiple smaller models which I have joined at the end, thus it has multiple materials:

enter image description here

  1. First I created a new UV-Map and choosed Smart UV-Layout.

enter image description here

enter image description here

  1. Then I created a new texture in the UV-Panel

enter image description here

  1. Next I hit bake:

enter image description here

  1. This is the result:

enter image description here

  1. ...and if I select the original UV-Map then it looks like this now:

enter image description here

  1. I am not sure why this does not bake as expected.

If I do the same method with another model which has only one material, then it works without problems.

Black
  • 981
  • 5
  • 19
  • 44
  • What happens if you uncheck clear in the bake settings? – Brenticus Nov 30 '17 at 17:37
  • did you assign the new UV map to be used with the baked image? –  Nov 30 '17 at 17:55
  • @cegaton, Im not sure, I did all the steps precisley like you see here or in the video. – Black Nov 30 '17 at 20:20
  • @Brenticus, clear is creating an alpha mask on every part which is not painted. – Black Nov 30 '17 at 21:01
  • On the step 2 try removing empty material slot – Mr Zak Dec 01 '17 at 13:37
  • I tried it. The resulting texture looks different, but the problem itself was not solved with this method. But I already solved it, see my answer below. – Black Dec 01 '17 at 13:52
  • Related https://blender.stackexchange.com/questions/90096/how-can-i-convert-a-node-made-material-into-an-image-texture and https://blender.stackexchange.com/questions/13508/how-do-i-bake-a-texture-using-cycles-bake. Cycles bakes into image texture node currently selected so material must have it. Empty material slot is something better to be deleted regardless. – Mr Zak Dec 01 '17 at 15:37
  • I was reading the cycles baking chapter in the official documentation but there was no word about it. – Black Dec 01 '17 at 16:39

1 Answers1

2

I solved it, I had to add the texture bakeResult0001 created at step #4 to each material as none connected image texture node, I also had to only check "color" in the bake settings, otherwise weird black spots were baked onto the texture.

enter image description here

I created a video: https://youtu.be/nOvtGUgWCA0

Black
  • 981
  • 5
  • 19
  • 44