Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Visual Effects Graph Sorting?

Discussion in 'Graphics Experimental Previews' started by feinei, May 28, 2020.

  1. feinei

    feinei

    Joined:
    May 28, 2014
    Posts:
    2
    Hello, I'm fairly new so I hope this is the proper place to ask this;
    I just started making visual effects for my 2d game with the Visual Effects Graph and they're incredible, however I can't seem to figure out how to sort them properly. The problem isnt sorting the particles between themselves, but rather taking the entire ready-made effect as a prefab and having it be behind other game objects in the world. Right now I have a level up light explosion that I want to appear behind the player, but it appears on top.
    upload_2020-5-28_23-33-5.png upload_2020-5-28_23-33-20.png

    Up until now I sorted these things via the sprite renderer's sorting layer feature, but the VEG doesn't have that. What can I do to get this effect behind the player?