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

Resolved Does having a completely transparent material still impact performance?

Discussion in 'Editor & General Support' started by jlorenzi, Jan 20, 2023.

  1. jlorenzi

    jlorenzi

    Joined:
    May 2, 2021
    Posts:
    293
    I have a completely transparent invisible material using a lit URP shader. Does this still impact performance in the way normal transparent materials do? Or will Unity see that it's invisible and not bother doing the steps to render it?
     
  2. UFODriverr

    UFODriverr

    Joined:
    Nov 20, 2014
    Posts:
    21
    Im not 100% sure but i think it does. Check Drawcalls amount. (Fastest way to enable/disable object and check if drawcalls amount drops)

    I know that 0%Trasnparent UI is ignored. (Unity doesn't call draws for it), but materials might be still rendering.
     
  3. jlorenzi

    jlorenzi

    Joined:
    May 2, 2021
    Posts:
    293
    Ah, what a shame. I think I'm gonna try experimenting with shaders for invisible materials.