Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Does Super Text Mesh support multiple outlines?

A topic by JWoods created 27 days ago Views: 53 Replies: 5
Viewing posts 1 to 6
(1 edit)

Hi, there. I'm thinking about grabbing Super Text Mesh from the asset store, but I was curious about one thing, that I didn't see mentioned in the documentation at first glance. Can I produce text with multiple outlines? Kind of like this: 


I don't know if this is the right place to ask this. If not, feel free to delete this post.

BTW the link that directs to the documentation when posting a topic links to http://kaiclavier.com/docs/SuperTextMesh.txt when the link probably should be https://supertextmesh.com/docs/SuperTextMesh.html

-JWoods

Developer

Hey!

Hm, out of the box, an effect like that isn't possible. If you're handy with shaders though it would be possible to edit the two types of outline shaders that come with STM to have additional colour passes! The "Universal" shader would just need more passes added that reference a different colour, and the "Ultra" shader would need... probably just a couple more calls to the function that draws outlines, but with different distances & colours.

Eventually I'd like to extend the new Ultra shader to be able to support effects like this (outline & dropshadow at the same time is planned first, though!) but it's not a very common effect for dialogue text, so there's other things I need to prioritize first, sorry!


Oops, sorry about that broken link, should be fixed now! How long was that there for...?

Thank you for your inquiry!

-Kai

Thank you for the answer! Yeah, I don't know if I have the chops for implementing that. I've only dabbled a bit with shaders. I get that not many people have this request, but I think it could be very useful in some cases. I like to use multiple outlines at times:


I
n my example the text is not dialogue text, though so maybe it should indeed be handled a bit differently.
Again, thanks for your answer. I'll maybe pick up your asset for the dialogues and other texts. It seems awesome for those.

-JWoods

Developer

Right, double outlines could be useful! STM's main use is dialogue text, but as a damage pop up that would be really useful to have! Hm... that gives me an idea for a way to implement that... Ok I'll think about it for sure, then!  But I can't give a time estimate... sometimes shader things turn out to be easy, and sometimes they turn out to take years... But a hard-coded solution that's less-than-efficient should be possible to hack together over a weekend! But I'd want something fully customizable without code for a full release.

Yeah, no worries. Just thought I'd mention it. Maybe I am one of a select few who wants sometimes double outlined texts. If so, you shouldn't go out of your way to accomodate such a niche thing. I built my own hacky solution which isn't ideal and would gladly switch it out to something easier to use, but again, don't use your time on this just for me.

Awesome attitude and kudos to you for being so great about it, though.

Developer

Thank you for understanding! I really can see the value in it now though, so it's something I'd like to add sometime, too. I'm glad you found a working solution, though!