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
1
Question by perchik · Jul 20, 2011 at 07:04 PM · texturingbumpmap

Bump Mapping: It seems simple but I can't get it to work.

Ok I know this question has come up many times but I have not seen a good answer yet, usually because of the lack of description in the question, my plan is to change that.

I'm trying to make simple bump mapping work but I can't get anywhere. I have read the manual article here and I tried to replicate their steps, but it didn't work. I've read the previous questions on here and still haven't found an answer.

To start with, I made a new unity project and added a simple unity cube GameObject to the scene. Then I added a point light so that you could see any bump mapping on the surface of the cube.

In my favorite graphics program I made this simple bumpmap and saved it as a png:

Bump Png

Then, in Unity I imported the image as a new asset. I made sure to set it to a Normal Map in the inspector:

Bump Texture Settings

I created a new Material and set it to Bumped Diffuse. The Base texture was just a skin texture I had lying around:

New Material

Finally I applied that material to the Cube object: Textured Cube

Here's what it looks like in the Game:

Game View

I've tried using a cube model that I exported from maya with proper uv coordinates. I've tried using a cube from blender. I've also tried using different bump maps and I can't get anything to work at all.

I believe I've done everything right and yet I cannot see a bump map on anything. I know that a lot of people think this is simple but it seems like I'm not the only one struggling here. Is there something simple we're missing?

Can someone with some patience please shed some light here? Thanks!

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

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by perchik · Jul 20, 2011 at 07:36 PM

The answer is simple but not easy to find. In Edit -> Project Settings -> Player the option of Rendering Path under "Other Settings" was set to Vertex Lit instead of Forward. Once Forward was selected everything worked right. This was not an obvious answer. I'm going to leave this here for everyone else, since this answer isn't on the forums.

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 Peter G · Jul 20, 2011 at 07:22 PM

It looks like you have a vertex light on the object. Normal Mapping doesn't work well with vertex lights because normal mapping works per fragment so you should use a pixel light. Set the light to important to make sure it is a pixel light.

Comment
Add comment · Show 1 · 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 perchik · Jul 20, 2011 at 07:25 PM 0
Share

I tried that too, setting the light to important doesn't change anything

avatar image
0

Answer by feddarkk · Aug 12, 2013 at 05:02 PM

also try to use directional light instead point light

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How do i make a bump gloss and normal map? Pleas help me! 1 Answer

bymp map shaders 0 Answers

Bumpmap Terrain 1 Answer

Reflection Bump Shader strange artifacts 1 Answer

Bumped Diffuse Issue 0 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