(Webgl2 / WebGPU support) A better outline shader than the one that already exists on the C3 addon stack exchange.
Given how fantastic the new individual corner control is in your RoundedSquareMask shader...
Any chance of seeing the same control here for individual controls for the each side of an object being outlined?
Like how border-top, border-right, border-bottom, and border-left work in CSS?
Your stuff is so helpful in bringing back CSS type styling to objects that don't inherently have access to it in C3
sadly this isn't as feasible because the way CSS does outlines and the way this shader does outlines is drastically different.
I've actually been thinking about making a brand new addon focused on taking CSS inspired styling and applying to a default square (so with outline, sizing, positionning and border), but this would require going a completely different route than using shaders.
That's fair. My own personal goal is to use something more reliable than the built in emboss effect, as I find it prety limiting. Where if one could control each edge of a rectange in terms of color and thickness of outline, I think that could have a tonne of applications and possibilities.
On a side note, any advice for someone to get started making their own fx plugins? I've been thinking I should start looking into it, but haven't found much on how to get started.
I wrote a short blog post about that a while ago:
construct.net/en/blogs/skymen-13/write-effects-construct-1538
It's a little outdated since now the SDK has changed a lot, including WebGPU and WebGL2 shaders, but still I'd say it's a good starting point.
I would also use c3IDE2 to set up a new dev environment for making shaders
github.com/ConstructFund/c3ide2-cli
Feel free to join the Construct Community Discord server if you have any questions and other addon devs can answer any questions you might have.