Add Shader support to StyleBoxes. #5734
Locked
INdIEDeV016
started this conversation in
GUI
Replies: 1 comment
-
This is already being tracked in #3494. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Problem:
As of now, I think there is no way to add a shader directly to aStyleBox
......instead of adding a material to
Control
node......which sometimes also affects other things which are not desired (such as the shader or the material getting applied onto the text of the
Button
node as well, which is undesired)...Possible Solutions:
StyleBoxEmpty
to be able to add shaders directly as a property. This way, even if a user wants to use it as a "display nothing"StyleBox
, it will serve the purpose as well as provide the functionality of shading.StyleBoxShader
resource extending fromStyleBox
which could serve the same purpose as above.The ability to add shaders to
StyleBox
means that it could be reused with otherControl
nodes and thus also partly enable us to use animations in themes (See #5660).Beta Was this translation helpful? Give feedback.
All reactions