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!