Search Unity

Question Understanding GPU usage (Depth pass)

Discussion in 'General Graphics' started by Guedez, Jul 3, 2022.

  1. Guedez

    Guedez

    Joined:
    Jun 1, 2012
    Posts:
    827
    Currently I have shadows disabled, so I know for sure that the whole of the orange part of the graph is the Depth part of "Shadows/Depth". What I want to know, is why my particles consume so much time doing "Depth" and so little time rendering. Is it so that stuff behind them don't draw? Can I disable it?
    The shader being used is "Particles/Standard Surface"

    OBS: In case this matters, I have a ton of particle managers with a few particles each rather than one particle manager with all of them (Will fix later)

    OBS2: The particles use mesh rendering (a two sided quad, 4 triangles) so that they can be a two sided quad that does the backside lighting properly.

    Please ask away any info I didn't share, since I have very little idea of what is the cause of this.

    upload_2022-7-3_12-29-9.png