[unity] Add cutoff property to Fill shader.

This commit is contained in:
pharan 2018-07-13 22:57:33 +08:00 committed by GitHub
parent 6da58244f6
commit c4f013b99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ Shader "Spine/Skeleton Fill" {
_FillColor ("FillColor", Color) = (1,1,1,1)
_FillPhase ("FillPhase", Range(0, 1)) = 0
[NoScaleOffset] _MainTex ("MainTex", 2D) = "white" {}
_Cutoff ("Shadow alpha cutoff", Range(0,1)) = 0.1
[Toggle(_STRAIGHT_ALPHA_INPUT)] _StraightAlphaInput("Straight Alpha Texture", Int) = 0
}
SubShader {