Can I overlay a shader effect on a Button while preserving the rounded corners?
say I want to add a shader effect (like a ripple or glow etc) on button press. I figured I could just overlay a ColorRect or Control and slap a canvas shader on it. but the problem is that the overlay ignores the Button’s stylebox features like rounded corners and feathered edges, and renders as a hard-edged square.
is there a clean way to apply a shader effect on top of a Button while inheriting its visual clipping? or do I need to reimplement the button from scratch? any tips? 📉😭
Posted Jul 29, 2025, 6:13 AM UTC
31