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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How many draw calls should I target for PC

Discussion in 'General Discussion' started by jimmikaelkael, May 30, 2015.

  1. jimmikaelkael

    jimmikaelkael

    Joined:
    Apr 27, 2015
    Posts:
    783
    I've been able to lower the triangles count in the frustum by optimizing grasses and trees meshes.
    The tris count dropped by at least 45%.

    dc4.JPG
     
  2. Deleted User

    Deleted User

    Guest

    Tweak some of the terrain performance settings, usually terrains eat up a lot.. After that I'd leave it, seems fine to me..
     
  3. jimmikaelkael

    jimmikaelkael

    Joined:
    Apr 27, 2015
    Posts:
    783
    @ShadowK Thank you for the advices!
    I hesitate to get rid of builtin terrain for terrain meshes, but I don't now if it's worth the effort...
     
  4. Deleted User

    Deleted User

    Guest

    Nah the default Unity terrain is fine, you just need to mess around with the settings to get it to run better..

    http://docs.unity3d.com/Manual/terrain-OtherSettings.html

    The three things which help the most: Pixel error, basemap distortion and BE CAREFUL WITH the next one.

    Detail resolution, I usually set it to 512 out the box. If you change it, it will DELETE all your grass etc.
     
    jimmikaelkael likes this.
  5. jimmikaelkael

    jimmikaelkael

    Joined:
    Apr 27, 2015
    Posts:
    783
    @ShadowK you made my day! :)
    I've combined voltage lines and roads to reclaim a few batches.
    Then I've raised the pixel error to 10 and set the Base Map Distance to 250:

    dc5.JPG
     
  6. Deleted User

    Deleted User

    Guest

    Just to finish off, don't forget to re-bake UMBRA.. http://docs.unity3d.com/Manual/OcclusionCulling.html

    Decent occlusion culling will help no end, tweak the settings and make sure you don't end up with meshes disappearing. After that, you could use baked lighting which will also help dramatically improve performance.. Although dependant on how large your scene is, it might not be a good idea..

    After that I'd say you're done.. What GPU are you using out of curiosity?
     
  7. jimmikaelkael

    jimmikaelkael

    Joined:
    Apr 27, 2015
    Posts:
    783
    Yeah I use Umbra and already have refined the settings.
    My GPU is a MSI GTX760 Twin Frozr OC.
     
  8. jimmikaelkael

    jimmikaelkael

    Joined:
    Apr 27, 2015
    Posts:
    783
    I ended up tweaking things a bit more.
    I've lowered pixel error to 8 and raised up base map distance to 300 for the terrain and I've disabled the shadow cascades: it gives much smoother shadows which is perfect for that kind of dark atmosphere.
    As a result it decreased batches, triangles count and shadow casters.

    dc6.JPG