2D SDF Nodes for Unity

This package provides a collection of 2D signed distance functions (SDFs) that can be used in Unity Shader Graph. It includes various shapes, combinations, sampling, and modifiers to help create complex 2D shapes. The package is designed to be easy to use and understand, with a user-friendly interface and example scenes to get started. The SDFs can be used to create a wide range of 2D graphics, from simple shapes to complex scenes.

To get started, install the package into your Unity project, load the example SDF UI Scenes, and explore the Shader Graph file 'All Nodes' for a quick overview of the package contents.

The package includes:

  • Sub Graphs: various 2D shapes such as arcs, circles, polygons, and more
  • Combinations: operations to combine SDFs, such as addition, intersection, and subtraction
  • Sampling: functions to sample SDFs, such as distance lines and hard sampling
  • Modifiers: functions to modify SDFs, such as outlining and rounding
  • Utils: utility functions, such as derivative aspect ratio

The package is constantly being updated and expanded, and the authors welcome contributions and suggestions from the community.

The package is built using Unity Shader Graph and is compatible with Unity 2018.4 or later. It uses a combination of C# and HLSL code to create the SDFs and their corresponding Shader Graph nodes.

2D SDF Nodes for Unity - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Fast 2D Lighting for Unity

Fast 2D Lighting for Unity Thumbnail

Kitchen Gear 2D Sprites for Unity

Kitchen Gear 2D Sprites for Unity Thumbnail

2D Layout and Alignment Tools for Unity

2D Layout and Alignment Tools for Unity Thumbnail

Dynamic 2D Terrain Builder for Unity

Dynamic 2D Terrain Builder for Unity Thumbnail

2D Hand Painted Assets for Unity

2D Hand Painted Assets for Unity Thumbnail

Physics Draw 2D: 2D Drawing Mechanics for Unity

Physics Draw 2D: 2D Drawing Mechanics for Unity Thumbnail