Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Having trouble with the most basic of basic texturing

Discussion in 'Getting Started' started by DireSloth, Dec 6, 2016.

  1. DireSloth

    DireSloth

    Joined:
    Nov 25, 2016
    Posts:
    6
    Hello, Unity Forums. I tried asking this in Answers but no one seemed to know. Every time I create a mesh in Blender without a texture and import it to Unity, any material I apply to that mesh does not show its texture, instead coloring the object a flat color that seems to be an average of the color of the texture. This does not effect primitives made in Unity that I attempt to texture - those work fine. No tutorial on texturing I can find mentions this happening, and every tutorial on importing from Blender to Unity assumes the user has textured the mesh in Blender. Does this have something to do with the resolution of my texture? If so, how should I set things up so it works correctly? If not, what could be causing it?

    Thank you so much in advance!
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,209
  3. boxhallowed

    boxhallowed

    Joined:
    Mar 31, 2015
    Posts:
    513
    Are you baking your texture into the FBX? Did you try importing the texture and replacing the default diffuse material on the model in the editor with your texture?
     
    DireSloth likes this.
  4. DireSloth

    DireSloth

    Joined:
    Nov 25, 2016
    Posts:
    6
    Ok, I see, I was missing UV mapping. I guess just applying a textured Material in Unity doesn't work the same way it does in Blender. It would have been nice if the 90 tutorials I've watched had mentioned that.

    Thanks so much!
     
    SarfaraazAlladin likes this.
  5. boxhallowed

    boxhallowed

    Joined:
    Mar 31, 2015
    Posts:
    513
    I feel your pain.
     
    DireSloth likes this.
  6. jhocking

    jhocking

    Joined:
    Nov 21, 2009
    Posts:
    813
    I was about to say, I'm guessing you didn't apply UV coordinates and the flat color is simply the first pixel in the texture being stretched over the entire model.​
     
    DireSloth likes this.
  7. SarfaraazAlladin

    SarfaraazAlladin

    Joined:
    Dec 20, 2013
    Posts:
    280
    learning about UV mapping is such a head trip at first. Goodluck learning, and come back if you get stuck :)
     
    DireSloth likes this.