Search Unity

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:
    112
    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.