- Home /
Draw Particle System Over a Line Renderer?
Hi there,
I have a particle system with a Particles/Additive shader on it, and a LineRenderer with a Transparent/Diffuse texture on it at perhaps 50% opacity.
My particle system is most definitely closer to the camera on the Z-axis. It should be drawing on top of the line renderer - but it's not! It looks as expected (on top of the line) in the Scene view, but in the Game view it always draws underneath no matter what.
It's also worth noting that there's some other Z-wierdness with the line renderer - it's a component on an object that sits underneath (z-wise) the particle system, but it's drawing underneath a child mesh of that object. However it's drawing on top of other objects of the same type in the scene that are at exactly the same z-depth as the object the line renderer is sitting on. Wierd! Again, looks as expected in the scene view, but what I'm getting in game is strange.
How can I get the particle system to draw on top of the line?
Your answer
Follow this Question
Related Questions
3D Space Gun Pulse Laser Graphics 2 Answers
Sort Vector3[] by clockwise order 2 Answers
Particle effects along line renderer? 0 Answers
Particle sorting/layering question 0 Answers
2d bullet trail 0 Answers