Proposal for an X and Y setting for Text Shadow Size. #11515
Schadenvoid
started this conversation in
GUI
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, Godot text just uses a single integer for it's text shadow size, however I find the result somewhat unsatisfactory for my current project. It grows the shadow outwards in all directions rather than in a vector sense.
What I propose is a shadow setting that grows shadows relative to x and y coordinates, where setting positive and negative values in X grows the shadow right and left, respectively, and setting positive and negative values in Y grows the shadow to up and down, respectively. The 0 setting in both coordinates would remain unchanged from the current shadow, where it creates a shadow identical to the text.
In the above image is a mock-up of text that would have a Shadow Size of 1x, 0y, with an offset of 0x, 1y. It creates a distinctly different outcome from text with a Shadow Size of 1 and an offset of 1x, 1y, as seen below:
My personal reason for wanting this feature is more control in shaping shadows for a pixel art font, however I feel as though it would also be useful for projects that want to have text shadows with better control over shadow shaping to create more unique visuals.
Thanks for your consideration.
Beta Was this translation helpful? Give feedback.
All reactions