(Webgl2 / WebGPU support) A better outline shader than the one that already exists on the C3 addon stack exchange
Nice effect!
Thank you for the great effect, Skymen! It's very very useful. ✨
no work on Text
Hey folks! For those that want to have an outline effect for your text - as skymen has mentioned, this plug-in will be an intense resource hog. You can try using the BBcode [outlineback] (see documentation here construct.net/en/make-games/manuals/construct-3/plugin-reference/text )
However, you might run into some odd spiky bugs in some characters depending on the font. You can try to tweak the font by editing the vectors here: tophix.com/font-tools/font-editor
It's not trivial but at least you get both: The font you want and an outline that will not tank your performance.
Amazing, thank you!
Not sure why people are saying it doesn't work on text. The text and spritefont objects can do an outline with bb code.
I tested this and bb codes like that don't work on spritefonts. Just text objects.
Omg...Thanks!
i.imgur.com/dlPdg0F.png
any ideas how can i set thickness of outline? (when i use stroke i receive only outline without inner color)
Hello, I noticed important performance impact after upgrading from an old version (1.4.3 to 2.1.0.1) in a project with extensive use of this effect (hundreds of sprites and spritetexts).
- Are there any known reason that can explain this ?
- Do outlines and alpha require more calculation ?
Thanks !
новый
Is there a way to have the outline not extend beyond the character? Instead, have it scale inner, rather than outer?
Hi, this would not be an outline, but an inset shadow or glow. This outline doesnt support this.
Not a problem, I managed to make a plugin that allowed it. Thanks!
This effect fixes the outline spikes, and makes it easier to add the outline (no bbcode before text). It also works for regular sprites
Man you're the goat
I would still recommend using the bbcode outline when possible because it is a billion times faster than my shader for text
I noticed. It's not a big deal since the bulk of the texts are in the game menus, which don't need to maximize performance, while the ones in-game are much less, and i can use the bbcode there to keep it light