How to sample mtsdf? and few other questions.. #156
Unanswered
BULLSEYEliTe
asked this question in
Q&A
Replies: 1 comment
-
MTSDF mode simply combines a MSDF and a plain SDF. Sample the RGB channels to use it as a MSDF (pseudo-distance metric) and sample the alpha channel if you need the true distance but without sharp corners (e.g. for some effects). If you don't know how to use it, you probably don't need it because it's for some more specialized use cases.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Excuse my lack of information on this topic & It maybe oversight from my part but I couldn't find any resource on how to sample mtsdf's , the median method works well for msdf as shown but can't figure mtsdf.
2- Is it possible to incorporate this library into unreal engine and create sdfs from textures in editor or/and runtime?
3- Are supported input ttf, svg only? what about png file as input? or do we need to change png to ttf first?
Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions