-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Add a square fill mode to GradientTexture2D #76151
Conversation
Heh, I was planning on implementing this at some point 🙂 I suggest opening a proposal to discuss use cases. I can think of a few:
|
6313b36
to
cdb44c3
Compare
Sure thing, I opened a proposal. godotengine/godot-proposals#6712 I don't think this can be used for checkerboards. |
Indeed, this can only be used to draw grids. Still, this may come in handy for prototype textures when you don't want to reach out for https://godotengine.org/asset-library/asset/780. |
cdb44c3
to
0a4a1bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally (rebased against latest master
06ccbfe), it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems tiny, useful, and tested 👍
Thanks! |
Implements godotengine/godot-proposals#6712 (I moved the demonstrations and use cases there)
This is an example of
what it doeswhat it used to look like (see comments for a more recent version):Feel free to discuss about better implementations, also if you think the feature isn't needed.
Production edit: Closes godotengine/godot-proposals#6712.