Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | wdylanbibb |
I am writing a simple palette swap shader, and want to be able to get the color from a panel with a stylebox, but the texture
method does not get the stylebox color at the UV coordinate. Is there any way around this? Perhaps a clever use of FRAG_COORD
and SCREEN_UV
? I am pretty new to writing shaders so I am not the best at it. Thanks!
Huh, using COLOR = texture(SCREEN_TEXTURE, SCREEN_UV);
doesn’t get the StyleBox either. Are you sure you need a shader for this?
exuin | 2021-04-14 19:27