Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 645 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 645 Bytes

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.