Skip to content
Projects

About

Contour line filter for Unity

Games & Emulation

How these counts are measured

Measured star growth

in 24h
-1
in 7 days
-1
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

Explore related projects

Loading…