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 Quakeulf · Mar 30, 2013 at 11:04 PM · uvatlasmobileoptimizationuv coordinates

Using one atlas for static and changing character textures

Hi, I am working on a mobile game and need to keep drawcalls at an absolute minimum.

I want to have 2D-animated facial textures on the characters. The different facial expressions will all be in the same atlas, but can the non-animated parts for the rest of the skin and clothing be in this atlas? Only the UV for the face will be the part that change states.

This way I can save on drawcalls and since this is a big project it is easier to maintain one atlas instead of several.

Thank you all very much in advance for helping me out.

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 Fattie · Mar 31, 2013 at 11:53 AM 0
Share

just FTR. for 2D, many people use 2DToolkit. It gives you one-draw-call everything.

it's difficult to see how one could not use 2DToolkit (or a similar package), as, you'd pretty much have to write all the functionality yourself (ie, spend 2 yrs doing that) before getting going, heh!!!

regarding doing the sprite sheet (figuring the UVs etc), packages like 2DToolkit totally do all that for you. you just drag the files in to a folder. (indeed it even creates for you different size sprite sheets for different platforms, for goodness sake) - and completely handles animations, etc.

there are also popular software like spritemanager2 (?) that allows you to "just" do the sprite sheets if you wanna do it yourself, etc

Also if you are talking typography. Notice my long answer (comment) here,

http://answers.unity3d.com/questions/384623/setting-font-size-according-to-screen-dpi.html

we spent (wasted!) a massive amount of time trying to find the best real-world solution for type and that seems to work O$$anonymous$$. hope it helps in some way

1 Reply

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

Answer by robertbu · Mar 30, 2013 at 11:13 PM

I'm not sure where the question is in here. Yes you can have all your animated and non-animated in a single atlas. The trick will be setting up the uv coordinates to make it happen. Note this only buys you reduced draw calls if materials are shared. If you are using a bunch of different materials for your non-animated parts, then you will get a draw call for each material.

Comment
Add comment · Show 3 · 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 Quakeulf · Mar 30, 2013 at 11:43 PM 0
Share

Yes, the material will be shared. Thank you for your answer, that is all I needed to know. :3

avatar image Fattie · Mar 31, 2013 at 11:53 AM 0
Share

@quake if that is the answer pls tick it as only you can close questions. round symbol on your left

avatar image Quakeulf Fattie · Dec 22, 2016 at 01:36 PM 0
Share

3 years later I finally did.

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

11 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

Related Questions

CustomRenderTexture ignores "ComputeScreenPos" 1 Answer

How can I convert the texture coordinates of the multi-spite to 0-1? 0 Answers

The correct way of making Texture Atlas 0 Answers

Procedural Mesh UV problem 0 Answers

Texture Atlas used by same mesh 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