Skip to main content

Texture Nodes

Texture nodes sample the current glyph texture. These nodes are fragment-only and high-cost.

This page lists 2 nodes.

Sample Glyph Alpha

sample-alpha

Samples glyph alpha at a supplied UV coordinate.

PropertyValue
Stagefragment
Performance costhigh

Inputs

InputTypeRequiredDefault
uvvec2Yes[0, 0]
offsetvec2Yes[0, 0]

Outputs

OutputType
valuefloat

Sample Glyph Colour

sample-colour

Samples the font texture colour at a supplied UV coordinate.

PropertyValue
Stagefragment
Performance costhigh

Inputs

InputTypeRequiredDefault
uvvec2Yes[0, 0]
offsetvec2Yes[0, 0]

Outputs

OutputType
valuevec3