TextMeshMSDF_v2 Op

TextMeshMSDF

draw text using the FontMSDF operator


Signed distance field based font rendering that must be used with Ops.Gl.FontMSDF_v2

more information about the tech behind MSDF: https://github.com/Chlumsky/msdfgen


Full Name
  • Ops.Gl.TextMeshMSDF_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


Render (Trigger)
Text (String)

Size

Scale (Number)
Letter Spacing (Number)
Line Height (Number)

Alignment

Align index (Number: integer) Left  Center  Right 
Vertical Align index (Number: integer) Zero  Top  Middle  Bottom 

Color

r (Number)
g (Number)
b (Number)
a (Number)
SDF (Number: boolean)
Smoothing (Number)

Border

Border (Number: boolean)
Border Width (Number)
Smoothness (Number)
Border r (Number)
Border g (Number)
Border b (Number)
Shadow (Number: boolean)
Texture Color (Object:texture)
Texture Mask (Object:texture)

Character Transformations

Positions (Array)
Scalings (Array)
Rotations (Array)
Colors (Array)

OUTPUT PORTS


Next (Trigger)
Positions Original (Array)
Scales (Array)
Num Lines (Number)
Width (Number)
Height (Number)
Start Y (Number)
Num Chars (Number)

Patches using TextMeshMSDF_v2

  • Examples
  • Public
  • My Patches

Changelog


bugfixfix: correctly discard Pixels when fully transparentuser avatarpandur - 2024-08-23 23:43