Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Unity's "Sprite/Default" shader is TRASH. Using "TextMeshPro/Sprite" gave a MAJOR FPS boost! Why?

Discussion in 'Shaders' started by exzizt, Jan 26, 2019.

  1. exzizt

    exzizt

    Joined:
    Sep 30, 2017
    Posts:
    78
    I've been struggling to get my simple 2D game to run at 60 FPS on some devices, and while all else seemed to be failing, I tried messing around with my sprite material's shader. I switched it from Unity's "Sprites Default" shader to use Text Mesh Pro's "Sprite" shader instead. This got rid of my 30 FPS problem entirely and now the game is running at 60 FPS on those devices.



    My question is, can I optimize this even further? Is there a more optimal shader I can use than just using TMP's Sprite shader? My sprites have transparency.



    Thanks for your time and help!
     
    Eater_Games likes this.