Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Shadow Vertex count

Discussion in 'Editor & General Support' started by atmuc, Mar 7, 2013.

  1. atmuc

    atmuc

    Joined:
    Feb 28, 2011
    Posts:
    1,151
    i see my verts count: 68.8K and tri count: 39.4k on game window stats. when i enable shadow on my light i see my verts count: 165.9K and tri count: 94.9k. is it normal?
     
  2. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,649
    It's normal that your polycount would increase, yes. Shadows require an extra render of all shadowcasting objects - including ones that are offscreen but cast shadows onto the screen - so you should look at what your shadowcasters are and how many polys are in them.
     
  3. Batigol

    Batigol

    Joined:
    Oct 17, 2012
    Posts:
    234
    I just wonder why when I just enable the shadow (no tick cast shadow on any object). Polygon will double.
    I though it just count to polygon when it cast shadow from any object?