This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I'm new to shaders and trying to learn but i need to get something done and don't find any tutorials on that.

i need a glowing shader for a 2D game that kind of looks like this:

(sorry for this gigantic monstrocity of a link)

the only thing i know about shaders is how to make they move their vertexes (up, down, left and right) and paint them with different flat colors :S i have no idea of how to do this effect.

in Engine by (72 points)

1 Answer

+1 vote
Best answer

There are a lot of ways such as setting the render to unshaded and using the fragment function and changing the alpha value higher and lower.
or tampering with the light function.

but the quickest is modifying someone else's code :)

by (271 points)
selected by

Thank you :D

helped a lot, the alpha tip was killer!

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 Frequently asked questions and 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 [email protected] with your username.