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 Lairinus · Mar 19, 2015 at 06:24 PM · batchingdrawcallsbatch

Draw Call Batching... Not fully understanding

I read through the guide located here, and I thought I understood most of how to batch. That and the fact that I've been batching things for a bit

I'm composing my levels of many different pieces that are sharing the same material. Each piece has 36 faces, and things are batching fine. If I have 10 objects, I have 1 draw call with 9 batched calls.

When I apply a material using the Mobile-Diffuse shader to another level piece that has 98 faces, it adds an additional call. Moreover, any additional instances of the objects aren't batched.

Then I went overboard on optimizing that piece and put it down to 52 faces and the same issue is occurring; draw calls are not being batched on that object. I even started sharing the same material from the piece that has 36 pieces with the piece that has 52, and calls are not being batched.

The scale of my objects are all 1, and there is 1 directional light in the scene. None of my objects have rotations, either.

How can I make it so that my calls are actually batched?

STATIC BATCHING is not an option

UPDATE:

At 38 faces, my object finally gets batched. The only solution I see as of now is to turn the quadrants into eights and do it that way.. lol

ANSWER:

I guess Overlapping UVs aren't supported with batching because I unwrapped my models and exported much higher poly models (98, 172 as opposed to 38) and batching kicked in.

Comment
Add comment · Show 4
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 hexagonius · Mar 19, 2015 at 06:27 PM 0
Share

Disable cast and receive shadows on them

avatar image Lairinus · Mar 19, 2015 at 06:34 PM 0
Share

Didn't work; same exact issue.

2 Objects

No batching with more

starting.png (168.9 kB)
final-no-batch.png (223.6 kB)
avatar image tanoshimi · Mar 19, 2015 at 07:09 PM 0
Share

Do your models have UVs, vertex colours, or other attributes?

avatar image Lairinus · Mar 19, 2015 at 07:18 PM 0
Share

All of my models are unwrapped, and I have overlapped UVs.

I guess overlapped UVs aren't supported well because I can go back to 98 faces with no issues, and I'm sure I can push even higher;

Gonna have to split the quadrant even smaller :(

Thanks for the help.. I guess it was overlapped UVs. Updating my question.

0 Replies

· Add your reply
  • Sort: 

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

21 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

Related Questions

Batching objects problem 1 Answer

Dynamic batching line renderer 1 Answer

Batching Nightmare, What affects dynamic Batching!? 0 Answers

Is texture atlasing useless when you are constantly changing materials? 2 Answers

Excessive VBOs and no batching while instantiating prefabs 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