- Home /
Changing the layer of a Visual Effect from the Visual Effects Graph Package
Hello! I really couldnt find anything helpful, maybe Im just dumb but here we go. I made a small visual effect using the Visual Effects Graph package. I am using that effect in unitys 2D mode. However when I want to position my effect it goes behind every sprite / tilemap! I have not found a way to change the order in layer, the Visual Effect components just doesnt seem to have that... There is a transparicy priotity, bit this doesnt seem to help. Please, I really like using this package, but if I cant display it infront of my sprites and tilemaps its useless to me. Any ideas where I can change the layer? Thanks :)
Answer by Snailtan · Dec 21, 2019 at 03:52 PM
I found a workaround, it seems to render at layer 0. So if I put everything else beneith that... it works. There has to be a better solution than that. :I
Answer by K0ST4S · Apr 17, 2021 at 11:36 AM
Add Sorting Group component and choose the layer and the order.