[unity] Make Skeleton Material preview 2D.

This commit is contained in:
pharan 2018-01-31 19:19:54 +08:00
parent 16d799002d
commit c584de7c26
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ Shader "Spine/Skeleton Fill" {
[NoScaleOffset]_MainTex ("MainTex", 2D) = "white" {}
}
SubShader {
Tags { "IgnoreProjector"="True" "Queue"="Transparent" "RenderType"="Transparent" "PreviewType"="Plane" }
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" }
Blend One OneMinusSrcAlpha
Cull Off
ZWrite Off

View File

@ -13,7 +13,7 @@ Shader "Spine/Skeleton Tint" {
}
SubShader {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" }
Fog { Mode Off }
Cull Off

View File

@ -5,7 +5,7 @@ Shader "Spine/Skeleton" {
}
SubShader {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane"}
Fog { Mode Off }
Cull Off