0
$\begingroup$

I'm completely stuck. I've spent so many hours trying to find out what I'm doing wrong, but it's the same outcome each time.

I have created some rocks / mountains in Blender that I plan to use in Unity, however the texture looks completely messed up.

I smart uv unwrapped, and created a material using nodes. I then baked to an image, saved to disk, and imported into Unity. The model is exported via FBX.

The first image is the material, and that is how I want it to appear. The second image is texture render (low samples) in the viewport (I added a brightness node, as I don't know how to light something in Cycles (adding a light source didn't do anything)).

As you can see there are issues at the seams, and the colour ramp is messed up.

Blender Material Blender Texture

Edit: Changed the Bake Type to just "Diffuse", and that solves it. (Thanks to pycoder for focusing my attention there).

$\endgroup$
  • $\begingroup$ do you have enough light in your environment ? $\endgroup$ – lemon Aug 22 '16 at 15:55
  • $\begingroup$ Can you show a screenshot of your baking settings? It should be set to "Diffuse Color" since you are planning to do the lighting in Unity. $\endgroup$ – JakeD Aug 22 '16 at 16:03
  • $\begingroup$ @lemon I just figured out how to add lighting in Cycles. Didn't know it had to be baked into the image. Ideally I don't want lighting baked, as I want Unity to handle how things look. $\endgroup$ – JacketPotatoeFan Aug 22 '16 at 16:10
  • $\begingroup$ @pycoder Sorry, I did try to add them to the post, but am limited to 2 right now, so I uploaded another here... imgur.com/a/hRa5B $\endgroup$ – JacketPotatoeFan Aug 22 '16 at 16:11
  • $\begingroup$ @Jacket Sorry, but I can't get to it. Can you tell me what the settings are? $\endgroup$ – JakeD Aug 22 '16 at 16:12
2
$\begingroup$

Change the mode to "Diffuse" in the baking panel then enable only color if you want no lighting:

enter image description here

$\endgroup$

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.