m FuzzyBot moved page Translations:Rendering MSDFs/2/en to Translations:Importing and using MSDFs/2/en without leaving a redirect: Part of translatable page "Rendering MSDFs" |
Importing a new version from external source |
||
Line 1: | Line 1: | ||
To render MSDFs in Resonite, | To render MSDFs in Resonite, use the [[Component:TextUnlitMaterial|TextUnlitMaterial]] or [[Component:UI_TextUnlitMaterial|UI_TextUnlitMaterial]] materials. The MSDF can be placed in the <code>FontAtlas</code> field of the material. <code>TintColor</code> is used to color the actual object the MSDF represents, while <code>BackgroundColor</code> can be used to color the background of the MSDF, so long as <code>AutoBackgroundColor</code> is unchecked. <code>OutlineColor</code> can be used to give an outline color to the object. <code>FaceDilate</code> dilates the boundary of the MSDF, <code>OutlineThickness</code> controls the thickness of the outline, and <code>FaceSoftness</code> controls how soft the object looks. |
Latest revision as of 18:55, 27 April 2025
To render MSDFs in Resonite, use the TextUnlitMaterial or UI_TextUnlitMaterial materials. The MSDF can be placed in the FontAtlas
field of the material. TintColor
is used to color the actual object the MSDF represents, while BackgroundColor
can be used to color the background of the MSDF, so long as AutoBackgroundColor
is unchecked. OutlineColor
can be used to give an outline color to the object. FaceDilate
dilates the boundary of the MSDF, OutlineThickness
controls the thickness of the outline, and FaceSoftness
controls how soft the object looks.