Render VFX particles according to the coordinates of the Z-axis.
I am using an automatic translation, so I apologize if some parts are difficult to understand.
I created a VFXGraph that draws a large amount of grass at once, and a VFXGraph of the flames when that grass is burned, both with nearly identical content.
Both grass and flame particles are generated from the same coordinates, but when the flame is generated, it is always drawn in front of all the grass.
How can I make the grass in front of the flame appear above the flame?
For some reason, I cannot upload images, so I will add the image URL of the VFXGraph.
- Grass
https://drive.google.com/file/d/1L8A47gCj7ySjbjIuSSPAdptstUlJWtym/view?usp=sharing https://drive.google.com/file/d/1iEBFJ8Fb6oxbbSZBmIr2lIisGG6aN-5u/view?usp=sharing
- Flame
https://drive.google.com/file/d/1Mb38_GwLG8USMQqgrrYgN90CU-nCzAjJ/view?usp=sharing https://drive.google.com/file/d/15d0UbYWbkpk_wioIAF19I1MMuFQ5-JDj/view?usp=sharing
Your answer
Follow this Question
Related Questions
building a 2d game help please 0 Answers
Best approach to get the part of the sprite that was clicked 1 Answer
I want to 2d sprite sort layers but force some of them to render in front of another layer? 0 Answers
Factorio-like sprite directions 0 Answers
Using a dynamic game object as a mask for another game object - Unity 2D 0 Answers