Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by nuclearxstudios · Feb 09, 2018 at 10:50 AM · texturematerial3d modelpngobj

Textures not applied correctly to 3D objects

alt text

Hello. So I ordered a bunch of 3D objects and I was given files of these formats for each 3D object.

.fbx .obj .mtl .png

However, when I import these items to unity and try to create a material with the .png file and add it to the object, the textures are completely wrong. (see attachment)

This is the .png texture. (see attachment)

alt text

screenshot-20.png (115.8 kB)
magnet-texture.png (4.1 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cherno · Feb 09, 2018 at 11:21 AM 0
Share

It's possible that the model doesn't utilize uv mapping but rather a shader-based solution, so in that case you'd have to use a custom shader. Just a guess though.

avatar image nuclearxstudios Cherno · Feb 09, 2018 at 01:18 PM 0
Share

Hello. I asked the person i bought the models from and he said this: "Unity must have texturing/unwrapping solutions...Try finding where to scale and move the texture on a model". What do you think?

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Bunny83 · Feb 09, 2018 at 11:17 AM

Well, i guess the object wasn't unwrapped. In other words it either doesn't have any UV / texture coordinates or they are all 0. The result will be the same.

Can you select the actual "mesh" object of your model and check the preview section at the bottom of the inspector? It tells you what vertex attributes the mesh has. Have a look at this example:

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image nuclearxstudios · Feb 09, 2018 at 11:59 AM 0
Share

![![alt text][1]][1]

Thanks for your reply. This is what I got. @Bunny83 [1]: /storage/temp/110987-screenshot-21.png

screenshot-21.png (7.9 kB)
screenshot-21.png (7.0 kB)
avatar image Bunny83 nuclearxstudios · Feb 09, 2018 at 12:21 PM 0
Share

Well, as you can see the mesh doesn't have any UV coordinates. So your model didn't get unwrapped at all. You usually want to unwrap your model in your modelling tool. Of course like Cherno mentioned in the comment above you could use a custom shader to do the texture lookup based on the vertex coordinates. However it's unusual to do that as you would need a seperate shader for each object. Also such an approach only works if you have such a simple mapping as in your case here.

avatar image nuclearxstudios Bunny83 · Feb 09, 2018 at 01:06 PM 0
Share

Is it possible to unwrap my models in Unity as i do not have any modelling experience with modeling tools.

Show more comments
avatar image
1

Answer by Entevily · Feb 09, 2018 at 02:45 PM

Download blender, it's a free modeling application. Use blender to open the model and unwrap it there.

A good YouTube tutorial can be found here on how to unwrap a model and export the UV map. Export/save your model once you are done unwrapping it.

Once you unwrap it and get a UV map exported, you then open that uv map in your photo editor and paint in your colors there. Bring that .png into unity and attach it to your unwrapped model.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

110 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

png texture not showing correctly 2 Answers

3D models has white parts 0 Answers

apply transparent png, material color shine through 3 Answers

How to export the materials of a model to a 2D UV map .png? -1 Answers

Small (16x16) Textures Importing Super Low Quality 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges