Skip to content

Instantly share code, notes, and snippets.

@spacedogpatrol
spacedogpatrol / RoundedRectangle.shader
Last active August 29, 2015 14:11
Rounded Rectangle
Shader "Custom/Rounded Rectangle"
{
Properties
{
_MainTex ("Texture", 2D) = ""
_ColorAndBorderRadius ("Color And Border Radius", Vector) = (0.8, 0.752, 0.701, 0.1)
}
SubShader
{
Shader "Custom/Glow"
{
Properties
{
_MainTex ("Texture", 2D) = ""
_GlowColor ("Glow Color", Vector) = (0.2, 0.4, 0.7, 1)
}
SubShader
{