Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

SDF Shader?

A topic by PolygonHeart created Sep 06, 2022 Views: 190 Replies: 1
Viewing posts 1 to 2

Hi,

I see that in the documentation ( http://supertextmesh.com/docs/SuperTextMesh.html#sdf-fonts ) it mentions to use the "SDF Unlit Outline" shader for SDF fonts but I can't find the shader in the unity asset, I've tried re-downloading it in case I somehow lost it but it just isn't there at all. Where can I find this SDF shader?
Also is there any updates on supporting outline shader with URP? 

Developer

Ah shoot I suppose I forgot to update that part of the docs, sorry!

I combined all of STM's regular shaders with the SDF shaders, just check "SDF Mode" in the material settings to use that! So the shader you want is "Unlit Outline", and then enable SDF mode on the material.

Still no updates on the outline shader with URP besides this script: https://pastebin.com/wWv49mgG I'm really sorry about that, developing it has been a total roadblock for me no matter what direction I've tried to approach it from. I'll do some more brainstorming, because I would really like this to work finally.