Search Unity

Render sprites with quad instead of polygon?

Discussion in '2D' started by noamgat, Dec 20, 2015.

  1. noamgat

    noamgat

    Joined:
    Nov 22, 2009
    Posts:
    125
    Hi,

    In my game, we have certain scenes where we have a LOT of sprites on screen, that take little pixels each, and don't save a lot of fill rate by being rendered as a polygon. However, since they do have some border around them, Unity generates and uses a 2d polygon mesh to render them. Is there a way to tell unity to use a quad while still using a sprite renderer?

    Thanks!
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Change the mesh type to "full rect" in the import settings.

    --Eric
     
    noamgat likes this.
  3. noamgat

    noamgat

    Joined:
    Nov 22, 2009
    Posts:
    125
    Ah, have to set the texture type to "Advanced" to have that setting available. Thanks!