Studio Yotsuba
Back to Node List

Text Outline

text_outline

Compatibility wrapper for outlined text rendering from a TextLayout input

Reviewed
Guide available

Input Ports

NameTypeDescription
Layout
layout
TextLayout
Required
Text layout to render
Fill Color
fill_color
Color
Optional fill color input. Falls back to the fill color parameter
Outline Color
outline_color
Color
Optional outline color input. Falls back to the outline color parameter

Output Ports

NameTypeDescription
Image
output
Image
Outlined text image

Parameters

NameTypeDefaultRangeDescription / Options
Fill Enabled
fill_enabled
Bool
true—

Whether to render the text fill inside the outline

Fill Color
fill_color
Color
[1,1,1,1]—

Fallback fill color used when the Fill Color input is not connected

Outline Width
outline_width
Int
10–16

Outline width in pixels

Outline Color
outline_color
Color
[0,0,0,1]—

Fallback outline color used when the Outline Color input is not connected

Padding
padding
Int
20–64

Extra transparent padding added outside the outline

Crisp Edges
pixel_perfect
Bool
true—

Prefer harder dot-like edges and a square outline expansion

Pixel Perfect Cleanup
pp_cleanup
Bool
false—

Remove L-corner pixels from the generated outline after rasterization

Cleanup Side
pp_cleanup_side
Enum
Outer—

Which side of the text outline should receive pixel-perfect cleanup

  • InnerInner
    Remove inner-edge L corners
  • OuterOuter
    Remove outer-edge L corners
Threshold
threshold
Float
0.150–1 / step 0.01

Alpha threshold used while generating the source glyph mask

Overview

A simple entry point that renders a TextLayout with an outline. Game text almost always needs an outline, so treat this as a compatibility wrapper around text_rasterize with the go-to outline defaults already configured.

Usage tips

  • text_layout → text_outline is the shortest path to outlined text. Switch to the same engine's text_rasterize when you need finer control.
  • The quality of pixel text depends on Pixel Perfect Correction, which removes L-shaped corner pixels. If enabling it damages the result, change which side is corrected.

Related nodes

  • text_rasterize — the primary renderer and canonical final bake
  • text_layout — required upstream
  • text_reveal_by_glyph / text_animate_by_glyph — insert effects upstream

How to think about it

  • TextLayout decides where characters are placed.
  • TextOutline is the simple entry point for drawing that placement with an outline.
  • TextRasterize is the canonical final bake.
  • TextOutline is a compatibility wrapper that calls the same render engine with outline defaults.

Technical details

  • Internally, it uses the same render engine as TextRasterize to draw fill and outline for the TextLayout.
  • Hard Outline is an appearance-oriented mode for choosing outline hardness and expansion shape.
  • Pixel Perfect Correction is a separate post-process that removes L-shaped corner pixels.
  • Correction Side selects whether to prioritize cleaning the inner or outer edge of closed glyph shapes.
  • padding is outer margin around the outline, not part of the glyph body.
  • After reveal or animation is applied to a TextLayout, the renderer naturally follows the final glyph placement.

Examples

[Text Input] -> [Text Layout] -> [Text Outline] -> [Preview]
[Text Input] -> [Text Layout] -> [Text Outline]
[Color RGB] --------------------^
Back to Node List