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 orenjeru · May 21, 2012 at 12:38 PM · static-batching

static batching

if i use static batching, what does it mean if i have, say, 17 draw calls and 20 batched? does it mean that i have just 1 draw call, since there are more batched than the number of original draw calls? i am a bit unclear about the relation between these 2 numbers. also, when atlasing, is there some sort of sweet spot where dimensions would be so big, it would decrease instead of increasing performance? (assuming i am using static batching) Thanks. Oren.

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

1 Reply

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

Answer by Eric5h5 · May 21, 2012 at 01:34 PM

It means you have 17 draw calls, as it says. It would not be possible to have more batched draw calls than there were originally. If you had 1 draw call and 20 batched, that means you had 20 originally and now have 1 because of batching. 17 and 20 means you had up to 36 originally.

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 orenjeru · May 21, 2012 at 02:44 PM 0
Share

ok, i see, that's right. i had 36 originally. but all of them are duplicates of each other, they are the same geometry with the same material and they are all static. so why am i left with 17? why are only 20 being batched? shouldn't it be batched to just 1?

avatar image Eric5h5 · May 21, 2012 at 04:20 PM 0
Share

$$anonymous$$ysterious are the rules of batching, and it is not for the likes of mere mortals to know them.

avatar image robertbu · Jan 16, 2013 at 12:44 PM 0
Share

If you have the same material with the same object, but you change any aspect of that material at runtime (texture, color, blend...), the objects will not be batched.

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What can you change for a statically batched mesh? 1 Answer

Static Batching & Occlusion Culling 1 Answer

Static Batching per scene setting? 0 Answers

static batching on dynamically instantiated content 4 Answers

LODGroups still statically batch? 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