Lysa  0.0
Lysa 3D Engine
FontParams Struct Reference

Detailed Description

Parameters controlling SDF/MSDF rendering and outline appearance.

Lua full name: lysa.FontParams

Properties

float2 px_range
 Pixel range used by the SDF/MSDF atlas (x = lower, y = upper).
 
float4 outline_color
 RGBA outline color.
 
number threshold
 Alpha threshold used to classify inside/outside for the distance field.
 
number outline_bias
 Bias applied to the outline distance field value.
 
number outline_width_absolute
 Absolute outline width in pixels.
 
number outline_width_relative
 Relative outline width expressed as a fraction of the font size.
 
number outline_blur
 Outline blur factor; higher values produce softer edges.
 

Property Documentation

float2 px_range

Pixel range used by the SDF/MSDF atlas (x = lower, y = upper).

float4 outline_color

RGBA outline color.

number threshold

Alpha threshold used to classify inside/outside for the distance field.

number outline_bias

Bias applied to the outline distance field value.

number outline_width_absolute

Absolute outline width in pixels.

number outline_width_relative

Relative outline width expressed as a fraction of the font size.

number outline_blur

Outline blur factor; higher values produce softer edges.