Shader Help

Post any engine-related development questions or issues you are having to receive advice, support, or help.
Post Reply
YangTegap
Posts: 2
Joined: Fri Aug 18, 2023 3:16 am

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?
User avatar
Haystack
Posts: 4
Joined: Thu Jul 20, 2023 12:15 pm

Have you looked at class [https://docs.godotengine.org/en/stable/ ... yleboxflat]StyleBoxFlat[/url]?
There's a needle of wisdom in here somewhere...
Post Reply