0
$\begingroup$

Ok, Ive looked everywhere for this and tried following solution explained here - Export cycles material to unity

in order to make my MATERIALS (I don't have textures - just basically diffuse materials that Id like to preserve in color/roughness/low poly look) when exporting to dae for use in Unity or Xcode.

If I try to bake without following the steps above I get error - "no active image in materials slot". But right now the bake turns black.

I followed everything mentioned and learned to preserve my material I need to bake them to textures - so I

  1. created a new blank image in UV editor
  2. unwrapped "U" my object to the image like here:enter image description here (color doesn't come thru to image but I assume thats ok?

  3. Set Bake settings like this:

enter image description here

  1. Here is the material Im trying to get to stay put as its color/diffuse/etc once I export to dae:

enter image description here

And the results are all wrong. Textures are weirdly transparent and baking hasn't affected anything:

enter image description here

What am I doing wrong here? Ideally Im trying to go the easiest possible route keeping my MATERIALS going to Unity/xcode. How can I do this? Desperate here

$\endgroup$
  • $\begingroup$ You shouldn't worry about how your materials will look in Blender, they will be completely different on Unity because the shaders and rendering pipeline is very different. The right approach is to assign simple materials in Blender (so you just see which is which) and only fine-tune the ones you assign in Unity. $\endgroup$ – kheetor Mar 22 '18 at 13:19
1
$\begingroup$

Guessing a bit, but for this to work, you need to have an active (i.e. selected) Image texture node in the node editor. Did you remember to select it (make it active) before hitting Bake?

Also: I see you have selected multiple passes to bake. I think you need separate textures for each. (Select an image in the texture node, make sure it is still active, select a Bake type, hit Bake.)

$\endgroup$
  • $\begingroup$ Can you show a picture of an example of making it active? Im new to blender.. $\endgroup$ – skyguy Mar 9 '18 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.