• 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
Question by G.A.B.E. · Feb 10, 2014 at 10:57 PM · normalnormalmapbumpmapbump

Bump Mapping

Okay basically I know i probably sound like i have no idea what im doing, but i kinda do (I t$$anonymous$$nk!). Basically i have managed to apply a normal map to my material of a tiled floor, and in design mode it looks perfectly applied, but as soon as i press play to test it it just disappears, leaving only the flat diffuse visible. When i stop the game test, it renders in the design view fine again :( Is there a problem wit my camera?? :( Help ;)

Update Here's a screenshot of my workspace and test scene, as you can see there are no scripts attached to the plane i have tested the textur on. On the design window you can see the bumps from the normal map, but on the game view it's just a flat diffuse :/ alt text

unity show.png (455.2 kB)
Comment

People who like this

0 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 getyour411 · Feb 10, 2014 at 11:10 PM 0
Share

Do you have a public variable in a script where you've set the Material that's overriding?

avatar image G.A.B.E. · Feb 11, 2014 at 04:27 PM 0
Share

No i don't....

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by AdamScura · Feb 11, 2014 at 12:31 AM

Bump mapped materials should work out of the box with no scripts required.

Just create a material with a bump map shader, then pick the diffuse and normal texture in the property inspector. Then drag t$$anonymous$$s material onto your game object.

See Materials and Shaders.

If you have any scripts involved, please post them so we can better assist you.

Comment

People who like this

0 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 G.A.B.E. · Feb 11, 2014 at 04:31 PM 0
Share

I've taken a screenshot and updated above, and there aren't any scripts.... :/

avatar image AdamScura · Feb 14, 2014 at 01:58 AM 0
Share

Add a light to your scene.

When you don't have a light in your scene, unity adds an invisible light to the scene view just to make it easier to edit your scene. But this invisible light is not part of the game and does not render in the game view. As soon as you add a light to your scene, both the game view and the scene view will show the correct lighting.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

19 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

Related Questions

Changing bump map opacity. 0 Answers

Two bump map shader 0 Answers

Should I actually model the bevel for my mesh object, or use bump mapping? 1 Answer

Normalmap/bumpmap on runtime from www.texture? 2 Answers

Poly count limit for bump/normal map? 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