<aside> ℹ️

As of version 1.3.x there is now support for runtime SDF generation. All generation code from editor-only import pipeline were exposed for public use in both editor and runtime.

Also SDF generation backends has updated, now there is a new Jobs-based CPU generation backend, read more on: SDF Generation Backends

</aside>

Sample files overview

Scene view

Scene view

Editor component view

Editor component view

Code overview

Code overview

Testing demo

Recording2025-09-21220750-ezgif.com-video-to-webp-converter.webp

Click Load Image button to select any *.png, it will generate SDF automatically. Then Generate SDF can be clicked to re-generated loaded image with current settings.

How runtime generation works

All generation related stuff is located inSDFGenerationUtil

image.png

For generation use either GenerateSDFSprite, or GenerateSDFTexture methods.

They will required optional

Default backends access

image.png

There is two backends right now GPU and CPU, more about them here: SDF Generation Backends

Ways to set sprite (Generate SDF) to SDFImage