# Distance field in font material for UMG

**URL:** <https://forums.unrealengine.com/t/distance-field-in-font-material-for-umg/454676>\
**Category:** Rendering\
**Tags:** font, unreal-engine, question, UMG\
**Created:** [August 31, 2019, 4:36pm UTC](https://forums.unrealengine.com/t/distance-field-in-font-material-for-umg/454676 "2019-08-31T16:36:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZoltanE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZoltanE](https://forums.unrealengine.com/u/ZoltanE)\
**Post date:** [August 31, 2019, 4:36pm UTC](https://forums.unrealengine.com/t/distance-field-in-font-material-for-umg/454676/1 "2019-08-31T16:36:55Z")

</div>

I have text in an UMG widget and I’d like to add some font effects to it like inner shadow. For that I’d need to sample the font distance field but I don’t know how to do that: while I can sample a Font Param in the material (with UI domain) the UVs don’t match the individual letters. Also, the data I see coming from the sample does not look like a distance field…

---

<div class="post-metadata">

**Author:** ![caelanim8ter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@caelanim8ter](https://forums.unrealengine.com/u/caelanim8ter)\
**Post date:** [March 25, 2022, 7:08am UTC](https://forums.unrealengine.com/t/distance-field-in-font-material-for-umg/454676/2 "2022-03-25T07:08:58Z")

</div>

I am also interested in finding the answer to this . All Fonts in UMG are all sharp. Rather than having some nice falloff towards the edges of the font. Have a signed distance field could help with that.

---

<div class="post-metadata">

**Author:** ![WeirdBeard\_011](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WeirdBeard\_011](https://forums.unrealengine.com/u/WeirdBeard_011)\
**Post date:** [February 28, 2024, 1:21am UTC](https://forums.unrealengine.com/t/distance-field-in-font-material-for-umg/454676/3 "2024-02-28T01:21:57Z")

</div>

Did anyone have any luck and find a way to do this yet? Im very interested in knowing this too.
