Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Oh, well that's great news. Sorry, I forgot gradient could be interpreted a few different ways. I'll give it a try, but I certainly wouldn't turn down some help. I really only have experience with shader graph and even that's pretty spotty. So I've duplicated the "STM Ultra" shader as well as the "STMultra" shader include file. I updated the shader to include the new STMultra.cginc, and added a second outline color in the shader file: [ShowIf(EFFECT_OUTLINE)] _OutlineColor2 ("Outline Color 2", Color) = (0,0,0,1). I then updated my Super Text to use the new shader. Right now I'm trying to get the second outline color to appear in the inspector, which seems to be less straightforward than I thought. I'll keep at it, but if you think you could make the adjustment fairly easily I went ahead and sent you my invoice number. It would be cool to see gradient outlines as a built-in feature in the next update for other shader un-inclined people like myself.

Right, Super Text Mesh has a custom material viewer for editing material properties right in the editor (The code for this is within STMCustomInspectorTools.cs) but that's not needed to edit the material properties, you can edit it as if it's a normal material! (By clicking on the created material in the project window, and editing the properties in Unity's inspector)

I'll take my own try at it and email you that, but it sounds like you've basically got it! For the record, I wasn't going to edit the inspector code to get this working, myself... If I'm happy enough with the implementation, I may add it as a standard feature to the Ultra shader, but I'll have to test for performance efficiency