Skip to content

An example Unity project for 2D procedural shape creation with both basic and advanced examples.

Notifications You must be signed in to change notification settings

UlasTosun/Unity-2D-Procedural-Shape-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity 2D Procedural Shape Examples

Procedural shapes allow users to create and manipulate shapes dynamically and animate them at runtime.

This repository provides 2D procedural example shapes at both basic and advanced levels. Provided basic shapes can be used to create more complex shapes.

Advanced Examples

2D Signed Distance Field (SDF): This example provides an animation for UI (buttons and images) by using SDFs. It uses a modified version of the built-in UI shader of Unity. 2D_SDF

Star: It provides an example procedural star shape which is highly customizable (number of corners, inner radius, etc.). Star

Shurinken: It provides an example procedural star shape which is highly customizable. Shurinken

Basic Examples

This repository includes several basic shapes such as line, triangle, polygon, circle, quadratic and sinusoidal. They can be used as a base to be able to create more complex shapes. Following images belong to examples which blends two textures based on those shapes. Line Triangle Quadratic Sinusoidal Circle Polygon

About

An example Unity project for 2D procedural shape creation with both basic and advanced examples.

Topics

Resources

Stars

Watchers

Forks