docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Default SDF Text node

    Note

    Use this node only in shaders with Material set to UI for UI Toolkit. Using it elsewhere can lead to unexpected behavior or errors. For information on how to create shaders for UI Toolkit, refer to UI Shader Graph.

    Outputs the text color for SDF text rendering and includes a tint input you can use to modify the color of the text. For example, if you connect a Color node to the tint input and set it to red, and connect the output to SDF text render type, the text color of your SDF text becomes red.

    Ports

    Name Direction Type Description
    Tint Input Color The tint color to apply to the text.
    SDF Text Output Texture The rendered SDF text as a texture.

    Additional resources

    • Default Solid node
    • Default Gradient node
    • Default Texture node
    • Default Bitmap Text node
    • Render Type Branch node
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)