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

670 Vert model in unity with mobile/diffuse = 4.9k verts?

Discussion in 'Editor & General Support' started by djgriff, Mar 15, 2016.

  1. djgriff

    djgriff

    Joined:
    May 29, 2014
    Posts:
    279
    670 Vert model in unity with mobile/diffuse = 4.9k verts?

    Hi can someone help me under stand why i am getting so many verts..

    I am totally confused as to why there are so many from such a small model. this is in a new scene just the model of the tree. i know that with nothing in the scen ( blank new one) there is 1.7k verts from what i am not sure..

    But i am under the impression that for mobile devices it best to keep an entire level to 100k verts which seems pretty much impossible..

    Any advice on what i can do would be awesome.

    Thanks

    Daniel
     
  2. mholub

    mholub

    Joined:
    Oct 3, 2012
    Posts:
    123
    1.7k tris (5040 vertices) is cubemap rendering

    To understand what are you rendering use the Frame debugger tool which is under "Window/Frame Debugger" menu item. It will show you that your model actually rendered lots of times in the scene because of shadowmaps, depth rendering, etc.

    For example cascade shadow maps render your object 3 times. 1 more time is depth rendering, 1 more is main rendering
    That is 5 times overhead for just rendering of one model.
    If you turn off the shadows or will use shadows without cascade, you will save some performance
     

    Attached Files:

  3. djgriff

    djgriff

    Joined:
    May 29, 2014
    Posts:
    279
    Cool thanks for this. I'll look into it first thing.
    Cheers