I’m working on this laser for a video game, and it has a ring and the beam part.
Both the ring and beam use the same custom shader: GitHub - greggman/hsva-unity: A Hue Saturation Value adjustment shader for Unity. Useful for making lots of character colors.
However, how do I make the rings go around the beam instead of behind or in front of it using the same shader?
Why don’t you make things easier for yourself?
Cut the ring in half. Make the half deeper in the image sort behind the beam, and the closer one in front of the beam.