-
-
Notifications
You must be signed in to change notification settings - Fork 98
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 vertex color editor for Polygon2D #8195
Comments
We already have a Polygon2D UV editor. I wonder if both should be merged in the same dialog (and rename the tool to "Polygon2D attribute editor" in the process, with UV and color modes). This would reduce the need for code duplication. |
Yes, this is exactly my intention, see the part "Inside UV editor, there would be a Color mode." EDIT: @Calinou also note this discussion here, where I have listed few other improvements I would like to implement into this Polygon Editor: #4118 |
Made a separate proposal for bottom dock & refactoring to reflect editor's intention better: #8209 |
Describe the project you are working on
Looking to resurrect an old 2D platformer game which uses textured polygons for characters and environments.
Describe the problem or limitation you are having in your project
Polygon2D supports vertex colors but there's no way to edit this data outside of setting it manually or by code. Vertex colors are useful for coloring polygons (duh), and for various vfx like adjusting amount of wind affecing leaves.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Inside UV editor, there would be a Color mode. User would be able to apply color to their vertices with brush and fill tools.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Color editor would support following functionality:
Small note: on the above mockup I use sliders but in the actual editor I would use EditorSpinSlider for compactness.
If this enhancement will not be used often, can it be worked around with a few lines of script?
Used more or less as often as uv and weight editor.
Is there a reason why this should be core and not an add-on in the asset library?
Adds editor support for existing core functionality.
This is one part of multiple UV editor enhancements: #4118
The text was updated successfully, but these errors were encountered: