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

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!