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 /
  • Help Room /
avatar image
0
Question by Tanoshimi2000 · Feb 15, 2016 at 06:47 PM · texturemeshmaterialmodel

Why does my model not display proper material?

OK, I've no idea what's going on here. Simply put, I can throw a material on any object in the scene and it will show, except the model I've imported. The picture will demonstrate better.

alt text

So, as you can see, the sphere and the cube show the material correctly, while the model is showing the color of the material, but not the texture. The cockpit uses a reflective shader, and it's working, but no matter what material I use, the mesh only shows the color, not the texture detail or the normal map.

I've tried it using the Legacy shader that this material was designed for, and I've tried it using the current shaders. I've even tried manually setting the maps in the material for the model directly.

I opened the model in Max and tried applying UVMap in case it needed UV coordinates, but no luck.

Anyone got an idea on how I can get this model to show the textures? I've attached the model if anyone cares to help me out by getting the texture applied.

(Incidentally, I have an entire pack of these models, so I'll need to know how to do it, versus just having it skinned for me. Teach a man to fish, so to speak).link text

no-material.jpg (85.8 kB)
model.zip (24.5 kB)
Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Kurdle_4855 · Feb 16, 2016 at 12:56 PM

You probably need to UV unwrap the texture in 3ds max or whatever modelling software you have, by the looks of it you didn't unwrap it properly. Otherwise, I have no clue...

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
avatar image
0

Answer by meat5000 · Feb 15, 2016 at 07:00 PM

I think that applying UVMap is not the same as UV unwrapping.

I also cant get a texture to show which usually means there is no UV information.

Some people recently reported that Optimising the Mesh broke their UV Map.

Comment
Add comment · Show 3 · 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 Tanoshimi2000 · Feb 15, 2016 at 07:03 PM 0
Share

But wouldn't there be assumed (default) UV mapping? Also, when I imported it, thinking that might be the case, I selected for Unity to Generate Lightmap UV's, and Calculate Normals and Tangents. Nothing.

avatar image Tanoshimi2000 · Feb 15, 2016 at 08:03 PM 0
Share

Ok, so it turns out that it was missing uv's. I wrote a script the looped through the object and checked for UV's, and there were none. Then I modified that to provide UV's and now the texture shows.

Now I just need to figure out how to map the uv's properly. Currently, I'm using a direct mapping:

             uv[i].x = Vertices[i].x/4;
             uv[i].y = Vertices[i].z/4;

But that doesn't work for the sides that are vertical. Need to figure out a basic cube mapping algorithm.

It's that, or find a program that will batch UVUnwrap a ton of models.

avatar image meat5000 ♦ Tanoshimi2000 · Feb 15, 2016 at 08:15 PM 0
Share

Perform the Unwrap in 3ds$$anonymous$$ax

https://www.youtube.com/watch?v=O2iVu0JGGj8

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

44 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

Related Questions

2 Models 1 Cracked How to make both look the same? (Material Problems) 1 Answer

Is it possible to have text to texture? 0 Answers

Putting material on one thing puts it on all the things... 0 Answers

Having trouble with a texture not showing on a generated mesh. 1 Answer

Imported meshes colors changed to blue. How do I fix them? 2 Answers


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