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
commit
ae01ccead4
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue