-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radial gradients #18387
Comments
With a bit of work, it's possible to make them programmatically by generating a triangle strip polygon with appropriate vertex colors. Or easier, a shader with a |
This would still be really useful. Radial gradients would be perfect for 2D lights. It is not very convenient to open up an image editor just to edit a gradient. Every image editor handles them differently, too. It would be easier if these could be edited in the editor |
For all those looking for a temporary solution: https://github.com/Maujoe/godot-custom-gradient-texture |
Superseded by godotengine/godot-proposals#1677. |
Godot version:
3.0.2
OS/device including version:
Irrelevant.
Issue description:
Currently there seems to be no way to programmatically create radial gradients. Having to create them in an external tool and import them as textures is not only inconvenient, but also makes it impossible to effectively manipulate them at runtime.
The text was updated successfully, but these errors were encountered: