Outline image effect for 2D sprites.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
Assets Update Sprites-NoAlpha.shader Feb 10, 2015
ProjectSettings Initial commit. Feb 9, 2015
.gitignore Initial commit. Feb 9, 2015
README.md Update README.md Feb 10, 2015

README.md

SpriteOutlineFx

SpriteOutlineFx is an image effect which adds outlines to sprites.

Screenshot

Usage

SpriteOutlineFx draws contour lines of alpha channel values. The following points should be kept in mind.

  • The alpha channel of the screen must be cleared by setting a zero alpha color to the camera's clear color.
  • Use a color mask to draw sprites/objects without outlines. See the Sprites-NoAlpha shader for a detailed usage example.