Godot Version
Godot Engine 4.6.1
Question
I am trying to make a 3D lighting bolt effect. Basically, I have a 2D black and white texture of a lighting bolt for VFX render. I am gonna add ShaderMaterial to it that’s going create the effect that lighting bolt travels from up to bottom.
For my game I would want my lighting bolt to be any size. Not to be restricted by the mesh’s length the shader is applied to which.
Lighting bolt would be curvy and straight. Straight - from Point A to Point B and curvy - it’s just not straight, it’s like around cylinder or something like that.
The best thing that can used for that would be Path3D. Yet, I don’t understand how to apply a mesh to it so it would be formed along the curve from Path3D. I’ve tried used CSGBox and it kind of worked but I am afraid that it will gradually lower the performance of my game because the lighting bolts are supposed to appear spontanously as a visual effect.
I also need not just a “Plane” mesh. But kind of the mesh that has two planes crossed as 90 degree. Like + sign for rendering of the lighting bolt.
(I am not planning on using GPUParticle3D except if there is a way to make it like stretch from Point A to Point B).