Page 1 of 1

Shader Help

Posted: Fri Aug 18, 2023 3:20 am
by YangTegap
I'm looking to put a shader on a ColorRect that will do an inset boxshadow, like you can do in CSS, with the shadow color, intensity, and inward reach adjustable. I'm a total noob with shaders, can anyone help me with this?

Re: Shader Help

Posted: Sat Aug 19, 2023 3:22 pm
by Haystack
Have you looked at class [https://docs.godotengine.org/en/stable/ ... yleboxflat]StyleBoxFlat[/url]?