Unity-SDF-UI-Toolkit - SDF based Vector UI package

Unity-SDF-UI-Toolkit is an UI package that provides a uGUI component and utility for rendering UI graphics with features such as outlines, shadows, and rounded corners using signed distance functions (SDF). It supports a variety of simple shapes (e.g., quads, triangles, circles) as well as more complex shapes (currently splines and SDF textures). Additionally, the utility includes an SDF texture painter that allows for editing Bezier curves within the Unity editor and converting them to SDF textures.

Feature

  • SDF based Vector UI
  • Batch rendering
  • SDF Texture Painter

Screenshot

Overview
Additional UI Effect (Shiny and SDF Tex Pattern)
Squircle (left: Basic, right: approximate (lightweight) version)
Editor for creating Custom Shapes

This plugin is free and opensource on GitHub. Have fun!

■ Repository (upm ready)

1 Like

Looks interesting already!
Having a soft shadow built into a procedural panel would be very convenient for UI.

But I imagine you could also do a non-UI version for stylized 2d drawing?

1 Like

Thank you for your comment ! Currently, non-UI version support is possible. I’ll consider it, but it may only feature for just rendering shape because this plugin uses full rect mesh for each shape and does not have generate tight mesh feature at runtime …

[Notification] Version 0.0.26 has been released

As this is an important update on a build error fix, we are notified of it here as well.

Fix

  • build error coused by SDFPie

This is amazing, and even though i love its free
thing soemthing this complicated should be paid so it can stay up to date and support unity versions

1 Like

Thanks for the comment :sun_with_face:. I want this package to be accessible to as many developers as possible and needs more feedback for more development. So this plugin will remain OSS and we’ll continue to support the latest version of Unity as much as possible.

1 Like