Search Unity

  1. Unity 2019.4 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  3. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

GPU Instancing and Sprites, should I care?

Discussion in 'General Graphics' started by MadWatch, Apr 28, 2020.

  1. MadWatch

    MadWatch

    Joined:
    May 26, 2016
    Posts:
    41
    Hello everyone.

    I'm making a custom shader for sprites and I noticed that the effect I'm trying to achieve doesn't work when I enable GPU instancing for the material that is using my shader. I'm not sure why.

    But before I try to figure that out, I want to ask : does GPU instancing even matter for sprite renderers?

    I know the theory behind GPU instancing and I understand the performance gain. But I'm not sure how Unity is using it internally. Does anyone knows if enabling GPU instancing for sprites does anything at all? Can Unity use instancing for sprites? Because if it doesn't then I can just ignore it.

    Thank you very much.
     
unityunity