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

Do you have a public variable in a script where you've set the $$anonymous$$aterial 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
0

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 this 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
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 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.

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

Normal maps and Lightmaping in forward rendering 0 Answers

Normal maps problem 1 Answer

Normals on procedural mesh 0 Answers

can you make a surface shader be drawn before or after a certain pass? 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