Question by
GamesByNemiz · Mar 03, 2021 at 09:32 AM ·
trailrenderersortingsorting layers
How do you make a trail renderer adhere to the Sorting Layer settings?
(I'm using Unity 2019.3.0f3).
I'm having trouble getting my trailrenderers to draw on top of my sprites.
I have tried several different types of materials, several different sorting layers and orders in layer as well as a number of other things.
If you set your "Sorting Layer" to something that is above whatever layers the Sprites are drawn on, shouldn't the trails be rendered above the sprites?
Do you have to use a specific type of material? Are there other hidden settings, you have to know about to get the sorting to work?
Thanks.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613030122im_/https://answers.unity.com/themes/thub/images/avi.jpg)