Merged in bfsrjose/unity-ui-extensions (pull request #58)

Add ZTest [unity_GUIZTestMode] to ui particle shaders so that they work with the lightweight render pipeline (lwrp)
pull/413/head
Richard Jose 2019-10-23 19:03:15 +00:00 committed by Simon Jackson
commit ae01ccead4
8 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,7 @@ Category {
Blend SrcAlpha One
ColorMask RGB
Cull Off Lighting Off ZWrite Off
ZTest [unity_GUIZTestMode]
SubShader {

View File

@ -20,6 +20,7 @@ Category {
Blend One OneMinusSrcAlpha
ColorMask RGB
Cull Off Lighting Off ZWrite Off
ZTest [unity_GUIZTestMode]
SubShader {

View File

@ -19,6 +19,7 @@ Category {
Blend One OneMinusSrcColor
ColorMask RGB
Cull Off Lighting Off ZWrite Off
ZTest [unity_GUIZTestMode]
SubShader {

View File

@ -20,6 +20,7 @@ Category {
Blend SrcAlpha OneMinusSrcAlpha
ColorMask RGB
Cull Off Lighting Off ZWrite Off
ZTest [unity_GUIZTestMode]
SubShader {

View File

@ -19,6 +19,7 @@ Category {
Blend DstColor One
ColorMask RGB
Cull Off Lighting Off ZWrite Off
ZTest [unity_GUIZTestMode]
SubShader {

View File

@ -18,6 +18,7 @@ Category {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" "CanUseSpriteAtlas"="True" }
Blend Zero SrcColor
Cull Off Lighting Off ZWrite Off
ZTest [unity_GUIZTestMode]
SubShader {

View File

@ -19,6 +19,7 @@ Category {
Blend DstColor SrcColor
ColorMask RGB
Cull Off Lighting Off ZWrite Off
ZTest [unity_GUIZTestMode]
SubShader {

View File

@ -20,6 +20,7 @@ Category {
Blend One OneMinusSrcAlpha
ColorMask RGB
Cull Off Lighting Off ZWrite Off
ZTest [unity_GUIZTestMode]
SubShader {