A sprite outline solution.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Assets
ProjectSettings
.gitattributes
.gitignore
README.md

README.md

spriteOutline

A unity sprite outline solution. unity verson:5.5.2f1

Features

  • 1 Outline is a seperate gameobject, the order in the layer can be set.

  • 2 Use outline shader to render the sprite's texture only once (when it appear in the scene). Use setPropertyBlock to change the sprite textures.

outlinesprite

cruchoutline

Sprite outline shader modifies from http://nielson.io/2016/04/2d-sprite-outlines-in-unity/ by Ryan Nielson.