![]() |
Lysa
0.0
Lysa 3D Engine
|
Parameters controlling font rendering and outlining.
These parameters influence SDF/MSDF sampling and outline appearance when rendering text.
Public Attributes | |
| float2 | pxRange {FLOAT2ZERO} |
| float4 | outlineColor {0.0f, 0.0f, 0.0f, 1.0f} |
| float | threshold {0.45f} |
| float | outlineBias {1.0f/4.0f} |
| float | outlineWidthAbsolute {0.3f} |
| float | outlineWidthRelative {0.1f} |
| float | outlineBlur {1.0f} |
| float | roundedInterior {0.75f} |
| float | roundedOutline {0.75f} |
| float outlineBias {1.0f/4.0f} |
Bias applied to the outline distance.
| float outlineBlur {1.0f} |
Outline blur factor for soft edges.
| float4 outlineColor {0.0f, 0.0f, 0.0f, 1.0f} |
RGBA outline color.
| float outlineWidthAbsolute {0.3f} |
Absolute outline width in pixels.
| float outlineWidthRelative {0.1f} |
Relative outline width with respect to font size.
| float2 pxRange {FLOAT2ZERO} |
Pixel range used by the SDF/MSDF in the atlas (x = lower, y = upper).
| float roundedInterior {0.75f} |
Blend between sharp MSDF (0) and smooth SDF (1) for the glyph interior.
| float roundedOutline {0.75f} |
Blend between sharp MSDF (0) and smooth SDF (1) for the outline.
| float threshold {0.45f} |
Threshold used to classify inside/outside for the distance field.