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
|
||||
ColorMask RGB
|
||||
Cull Off Lighting Off ZWrite Off
|
||||
ZTest [unity_GUIZTestMode]
|
||||
|
||||
SubShader {
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ Category {
|
|||
Blend One OneMinusSrcAlpha
|
||||
ColorMask RGB
|
||||
Cull Off Lighting Off ZWrite Off
|
||||
ZTest [unity_GUIZTestMode]
|
||||
|
||||
SubShader {
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ Category {
|
|||
Blend One OneMinusSrcColor
|
||||
ColorMask RGB
|
||||
Cull Off Lighting Off ZWrite Off
|
||||
ZTest [unity_GUIZTestMode]
|
||||
|
||||
SubShader {
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ Category {
|
|||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
ColorMask RGB
|
||||
Cull Off Lighting Off ZWrite Off
|
||||
ZTest [unity_GUIZTestMode]
|
||||
|
||||
SubShader {
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ Category {
|
|||
Blend DstColor One
|
||||
ColorMask RGB
|
||||
Cull Off Lighting Off ZWrite Off
|
||||
ZTest [unity_GUIZTestMode]
|
||||
|
||||
SubShader {
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ Category {
|
|||
Blend DstColor SrcColor
|
||||
ColorMask RGB
|
||||
Cull Off Lighting Off ZWrite Off
|
||||
ZTest [unity_GUIZTestMode]
|
||||
|
||||
SubShader {
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ Category {
|
|||
Blend One OneMinusSrcAlpha
|
||||
ColorMask RGB
|
||||
Cull Off Lighting Off ZWrite Off
|
||||
ZTest [unity_GUIZTestMode]
|
||||
|
||||
SubShader {
|
||||
|
||||
|
|
Loading…
Reference in New Issue