Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
1
Question by ENDERthegamer · Feb 08, 2012 at 05:22 AM · shadersmaterialstexturesnormalmapspecular

How to Properly create & apply a normalmap and specular? (Hard Surface Shader Free)

I am the programmer on a project that requires a great deal of shiny metal textures/materials. I am attempting to use the free edition of Hard Surface Shaders from the unity asset store. I am definitely a novice when it comes to materials, shaders, normalmaps, and the like. Basically I am having problems getting the applied material to look right.

Here is the 3D object before applying any normal map or reflective map:

Before

Here is the result of my attempt at applying a normal map and reflective map that was given to me by the artist on the project:

After

We spent the entirety of the day going back and forth trying to figure out what would be causing the bizarre brail like repeating pattern of the two textures on the object. I don't know if it is something I am doing wrong in applying the textures, or if it has something to do with the textures themselves, or the import settings on either the model or the textures, or the way the FBX model was exported from 3DS Max. I do know that it is not a specific issue with the Hard Surface Shaders pack, since I am getting the same type of results from Unity's built in bumped specular shader.

It would be greatly appreciated if someone with a little more knowledge of shaders, materials, textures, ect. could help in understanding what is being done wrong in this process to cause this, as it is a major hump in the project at the moment.

These images may help in assessing the core of the problem:

  • The Material Settings (using the Hard Surface Free Opaque specular shader, no diffuse map is applied as it is not needed for this particular model)

  • The normal map import settings

  • The lightmap/specular import settings

  • The normal map and specular map before importing into Unity

  • The mesh object

  • The import setting for the mesh object

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
1
Best Answer

Answer by ENDERthegamer · Feb 11, 2012 at 03:38 PM

Issue solved!

Turns out that there were some problems with the UV settings on the model. The UVs in channel 1 were scaled and did not match the textures. The artist had used the automatic flatten UV's function in 3DS Max's render to texture but had set the UV map channel to 3 by accident.

So if anyone else runs into these issues, a good rule of thumb when using 3DS Max and Unity: Map Channel 1 for General UV's, Map Channel 2 for Lightmap UV's

A huge thank you to Bruno Rime, the creator of Hard Surface Shaders, who took the time to help us troubleshoot this issue. I highly recommend purchasing his incredible shader package.

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 Berenger · Feb 08, 2012 at 07:13 AM

First, you know how to ask a question, all details are here and it's appreciated :)

Now, are sure your UV are coherent with your maps ? Have you tried a simpler shader, the built-in Bump diffuse for instance ? I've never used those shaders, so I can't tell you more than that.

Comment
Add comment · Show 2 · 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 ENDERthegamer · Feb 08, 2012 at 12:32 PM 0
Share

This is what it looks like when I pass the Bumped Diffuse shader on the four submeshes for the object using that same normal map: http://www.flickr.com/photos/7489026@N07/6840830721/in/photostream

As for the UV, the artist assures me that they are correct.

avatar image Berenger · Feb 08, 2012 at 02:27 PM 0
Share

Damn. It got to be the shader then. I'll try to give it a look later.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How can you paint normal/specular mapped materials on terrains? 0 Answers

alpha mask on a 0 Answers

Graphics Performance Question 2 Answers

Transition Texture or Material horizontally 0 Answers

Multiple Shaders vs. Single Texture - Please help me overthink this. 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