Skip to content

Instantly share code, notes, and snippets.

// These codes are licensed under CC0.
// http://creativecommons.org/publicdomain/zero/1.0/deed.ja
using System;
using System.Runtime.InteropServices;
using System.Text;
using UnityEngine;
namespace Ore2Lib
{
Shader "Sprites/OutlineMeter"
{
Properties
{
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {}
_Color ("Tint", Color) = (1,1,1,1)
[MaterialToggle] PixelSnap ("Pixel snap", Float) = 0
[HideInInspector] _RendererColor ("RendererColor", Color) = (1,1,1,1)
[HideInInspector] _Flip ("Flip", Vector) = (1,1,1,1)
[PerRendererData] _AlphaTex ("External Alpha", 2D) = "white" {}