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
0
Question by militarybeetle · Apr 20, 2019 at 09:46 PM · textureheightmapnormalmap

How to create 3d texture effect

Specific Texture question here:

I saw this really cool effect in a video tutorial: https://youtu.be/lmLG4nC9tm0?t=723

I looked up how to make normalized maps to give my textures depth but its not nearly the same. How did this object in the video get away with creating depth with nothing but the texture?

Are height Maps and normal maps different things? Does it really make your game perform better because theres less geometry to render?

Thanks!

Comment
Add comment · Show 1
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 highpockets · Apr 20, 2019 at 10:23 PM 0
Share

Take a look at this:

https://www.pluralsight.com/blog/film-games/bump-normal-and-displacement-maps

A height map and a bump map are arguably the same thing in which they are both greyscale images that tell unity depth information. A normal map is an RGB texture which gives unity depth information. They both attempt to send depth information in an attempt to fake lighting/shadows.

Do not be mistaken, they carry an extra workload as opposed to just having a regular texture on the model face in question, but they are less expensive than creating a super intricate mesh. Having less geometry is good for performance, but I think it’s a balancing act between poly count and nice looking textures, but there are a lot of things to consider, notably what are your target platforms. If you are targeting smartphones, there are a lot more limitations than that of desktops.

I personally like faking as much as possible in the texture itself (no bump or normal maps, just detailed textures), but normal maps can give a nice effect if you want that extra depth.

Hopefully that helps,

Cheers

1 Reply

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

Answer by Bunny83 · Apr 20, 2019 at 10:58 PM

While you are right about normal maps and bump maps, the video looks like an actual displacement map. Though displacement maps are quite expensive. I guess it's a displacement map based on the preview of the image site where the texture came from which was used for the crate. I guess it was this one. If you switch the preview mode (at the bottom left corner) to "sphere" (3rd option) you'll see that the geometry is actually displaced and not just some normal map lighting.

Comment
Add comment · Show 4 · 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 highpockets · Apr 20, 2019 at 11:14 PM 0
Share

As I understand it, a displacement map will actually create more geometry, correct? So the benefit of using them is that when a face of the model is not being rendered, the extra geometry will not be calculated? Because it would seem to me that having predeter$$anonymous$$ed vertice positions on a mesh would be much more optimized than calculating the displacement every frame. Or am I missing something?

avatar image Bunny83 highpockets · Apr 21, 2019 at 12:49 AM 0
Share

Yes, in most cases actual displacement mapping doesn't make much sense. Ins$$anonymous$$d of displacement mapping one could also use parallax mapping (here's a more detailed article). Though parallax mapping, like normal mapping, doesn't change the actual geometry and therefore the shape / outline wouldn't change. So it might be parallax mapping in the video. Unity has some parallax shaders. This might be also interesting

avatar image highpockets Bunny83 · Apr 21, 2019 at 07:26 AM 0
Share

Ok, cheers @Bunny83.

avatar image militarybeetle · Apr 27, 2019 at 03:40 AM 0
Share

Cool! Thanks for the insightful answer, I was initially miffed about not being able to make boxes as cool as the guys video.

But if its in fact more work to do displacement mapping then I'm content with sticking to sculpted boxes :)

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

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

Related Questions

Is it possible to adjust normal map strength at runtime? 1 Answer

IcoSphere vs. Cube Sphere 0 Answers

Height map issue 0 Answers

Changing an Objects texture. 1 Answer

Importing a model with Displacement, Normal, and Texture map 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