Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

weekend project - get 1045 draw calls to under 50..can it be done?

Discussion in 'Works In Progress - Archive' started by ForceVFX, Oct 13, 2014.

  1. ForceVFX

    ForceVFX

    Joined:
    Jan 21, 2011
    Posts:
    612
    just thought i would share a look at my test..for an update to my android game..
    World Composer to Terrain Composer / Mesh Baker..

    stats window says it all..lots of hours..

    before...


    and down to 48...



    and in game (HUD is WIP)



    I was hoping to keep it all under 75 with the other stuff I am adding..

    this is all pre-light map...fine tuning, etc..

    p-

    1,548 Draw calls..final tree layer..



    with the final terrain grid & sky : 1,552



    My version 21 Draw Calls



    From the ground.



    10-14-2014 (gyro mode - my npc buddies, taking off with out me!!)









     
    Last edited: Oct 15, 2014
  2. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,841
    Nice work :)

    Do you also disable far away or occluded items ?
     
  3. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    nice effort. You should do a small write up on how you did it.
     
  4. the_motionblur

    the_motionblur

    Joined:
    Mar 4, 2008
    Posts:
    1,774
    Yes. You really should. Teasing with those drawcalls without explaining isn't fair ;-)
     
  5. ForceVFX

    ForceVFX

    Joined:
    Jan 21, 2011
    Posts:
    612
    Edit
    Sorry..it was Mesh baker, and a mobile foliage pack, from the asset store..he has a video showing you how he bakes thousands of objects..I just followed that, and broke them into sensible areas..I updated my pics..I added more trees.....
     
  6. ForceVFX

    ForceVFX

    Joined:
    Jan 21, 2011
    Posts:
    612
    Not yet..but will use sector stream/vis..I will need to, there are 35 more like this....