+3 votes

Hi

I worked already on laser effects. And I found one that was pretty neat when I added glow effect. But now I need to reproduce a laser a bit similar to that: enter image description here
Or even simply this first:
enter image description here
I'm now a little bit familiar with shaders and I kind of comprehend its logic. But still, when I try to use immediat geometry (from the navmesh demo), shaders seem to not work. What would be the approach to do such effect? The only thing I'm pretty sure already is that the material must be an add blend mode.

in Engine by (701 points)

Little update: With a Quad and a shader I could do an effect similar to the 2nd screenshot. However the quad have to always face the camera the same way and always be at the same place relative to the camera. And in that regard, it's not different than drawing a 2d sprite on the HUD. Example (it looks like a simple 2d triangle):
laser with a quad

My problem is that I try to create a volumetric object with alpha from solid meshes. I feel like I'm searching in the wrong direction.

Alright. Further research leads me to polyboarding. Does someone know how to do polyboarding in godot?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.