Hi!
I’m working on a space game and want to create spaceship trails (like the yellow trails here in this Enemy Starfighter example). For now I use an interval to cache the positions and orientations for the trail in a list and use it like a ringbuffer, so that it doesn’t get too long. That part works.
But now I need to generate some geometry for it. The effect I have in mind is to make it look as if I would extrude a quad with the trail positions. So I guess I have to generate the additional vertices in every frame. What is the best way to do this in Urho? Do I have to generate the geometry and set it in a model on a separate node in every frame? Or can I feed the trail position samples to a shader and generate the geometry on the GPU?