Draw icon on top of intersection effect

Hello everyone,

I am struggling to create a shader for a cylindrical area. The idea is to have a cylinder with a “flame effect” (something like this):


This part isn’t too complicated, as there are plenty of tutorials and resources available online.

However, in addition to the flame effect, I also want to add an icon above(on y axis so) of the effect with an offset that repeats itself around the cylinder, with spacing between each instance. I’ve managed to make the icons repeat with a consistent spacing, but I’m stuck on figuring out how to control their position along the Y-axis.

Here is an example :


It’s an attempt to do it, I can’t find a good way to display only the icon I want correctly mapped at the right offset & showing the icon full & show only one icon without cutting one, in red square is the icons I wanna show.

If anyone has any ideas or can explain how to achieve this, it would be greatly appreciated!

Thank you in advance for your help.