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 Jack-2 · Jul 09, 2011 at 10:17 PM · textureoptimizationmaterialsnormal maptexture-atlas

Some texturing questions...

Okay so I've built my model in my 3D package (a simple room). I've unwrapped it, textured it and got everything into Unity. Great.

When texturing I followed a lot of the performance and optimization recommendations, hence, it's one material and just one big texture, a texture atlas.

So umm, how do map slots work with just one material?

For instance, I want the walls to have some specularity to them, but I don't the carpet to be shiny. Likewise, I want a normal map on the carpet, but not on the walls.

How can you apply different effects like that when you're only working with one material and one texture?

What am I missing?

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 synapsemassage · Jul 10, 2011 at 07:56 AM

That's not possible, you must use specific materials in this scenario. Still, texture atlas will reduce overhead. Use same materials where it's possible.

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 Jack-2 · Jul 10, 2011 at 02:51 PM 0
Share

Okay, that makes more sense. I'm guessing I would break my model into multiple parts and then apply materials onto the parts I want those materials on, but keep all those parts in the same mesh ins$$anonymous$$d of multiple files, correct?

avatar image Owen-Reynolds · Jul 10, 2011 at 05:09 PM 1
Share

Each material has its own textures, which are reusable, and the rules for how to use those testures - whether you want specular, bumpmap, toony... . Choosing the shader is what chooses the rules. The wall mat, with diffuse, uses the main texture only. The floor, with a bump$$anonymous$$ap shader, will reuse that main texture, and an extra texture slot (for the bump map.)

avatar image
2

Answer by FourSheds · Jul 10, 2011 at 10:16 AM

You can just build specular and normal atlas-maps that are aligned with your main color texture. For the spec atlas you would color the un-shiny carpet sections of the spec atlas black, for instance. Same with the normal map, the sections that you want un-normalled you would color flat, which typically in Photoshop, for instance, would be R 127, G 127 B 255. (or 127,127,127 if you're using greyscale bump maps).

For an example, look at the buildings_a and building_a_bump texture atlases from the Bootcamp demo.

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 Jack-2 · Jul 10, 2011 at 02:52 PM 0
Share

Thank you. I wasn't sure on how to do that either :P

I'll have another look at the boot camp demo.

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

A question on the optimization... (mobile 3D game) 2 Answers

Apply Texture Atlas to Model Material 0 Answers

optimizing game material with emission map? 0 Answers

Is it bad to have this many materials? 2 Answers

Unity ASTC Texture Format 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