- Home /
How to Bring particle in front of a Image.?
I have a background Image in my Main Menu but when I add a Particle System it plays behind the image. This is the first time I used Particle and Im a beginner. Please help :(
Answer by Commoble · Mar 11, 2017 at 05:26 PM
Set the sorting layer of the particle's renderer to be a higher layer than the image's renderer. You can define sorting layers in Edit -> Project Settings -> Tags and Layers.
my Image is just a UI(Image) which represents as a $$anonymous$$ain $$anonymous$$enu background. Sorry Im a beginner. thanks for the response.
Answer by IgorAherne · Mar 11, 2017 at 01:15 PM
Use a material with a special shader. That shader (the algorithm, telling material how to shade pixels that object represents) must be rendering particles the normal way, except in Tags{}
it should have "Queue" = "Overlay"
Your answer
![](https://koobas.hobune.stream/wayback/20220612112918im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Show only specific part of UI.Image 0 Answers
converting Textures to Images ? 1 Answer
Make images fit in UI 0 Answers
Find one image into another image 1 Answer
Check if an image has been clicked 1 Answer