Contour line filter for Unity
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
Assets update test Nov 18, 2017
ProjectSettings Updated with Unity 2017.2 Nov 18, 2017
.gitattributes Updated with Unity 2017.2 Nov 18, 2017
.gitignore Update .gitignore Nov 19, 2017
LICENSE.txt Fix License File Name Oct 25, 2018
README.md Update README.md Nov 19, 2017

README.md

Contour

Contour is a contour line (edge detection) filter for Unity.

screenshot

Installation

Download one of the unitypackage files from the Releases page and import it to the project.

How to Use

Add the Contour component to a camera. Done.

Not only the colors but also opacities of contour lines and background can be changed by setting alpha channel values of Line Color and Background Color.

Contour supports three types of sources -- Color, Depth and Normal. The Normal source is only available in the deferred shading path.

In the typical usage, the Depth source is used to add silhouette lines to objects, but it's not good at detecting boundaries between contacting objects (e.g. feet and ground). The Normal source is useful for such cases.

License

MIT