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 Blend SrcAlpha One
ColorMask RGB ColorMask RGB
Cull Off Lighting Off ZWrite Off Cull Off Lighting Off ZWrite Off
ZTest [unity_GUIZTestMode]
SubShader { SubShader {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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