This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Outline2D" { | |
Properties { | |
_Color ("Main Tint", Color) = (1,1,1,1) | |
_OutlineColor ("Outline Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
_Metallic ("Metallic", Range(0,1)) = 0.0 | |
_Cutoff ("Main Alpha Cutoff", Range(0,1)) = 0.5 | |
_OutlineCutoff ("Outline Alpha Cutoff", Range(0,1)) = 0.25 | |
_LineOffset ("Outline Depth Offset", Range(0,-10000)) = -1000 |