Skip to content

Instantly share code, notes, and snippets.

@sneha-belkhale
sneha-belkhale / OutlinePostEffect.cs
Created June 17, 2019 09:41
Post-processing outline shader for Unity, fast and VR compatible.
Shader "Custom/OutlinePostEffect"
{
Properties
{
_MainTex("Main Texture",2D)="black"{}
_Delta ("Delta", Range(0, 1)) = 0.002
}
SubShader
{
ZTest Always