-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Improved lobby name - Fixed incorrect spawn height
- Loading branch information
Showing
26 changed files
with
3,972 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) | ||
|
||
Shader "NoZwrite" | ||
{ | ||
Properties | ||
{ | ||
_Color ("Tint", Color) = (1,1,1,1) | ||
_doZWrite ("Do Z write", Range(0,6)) = 6 | ||
} | ||
|
||
SubShader | ||
{ | ||
Tags | ||
{ | ||
"Queue"="Transparent" | ||
"IgnoreProjector"="True" | ||
"RenderType"="Transparent" | ||
"PreviewType"="Plane" | ||
"CanUseSpriteAtlas"="True" | ||
} | ||
|
||
Cull Off | ||
Lighting Off | ||
Blend SrcAlpha OneMinusSrcAlpha | ||
|
||
Pass | ||
{ | ||
ZWrite off | ||
ZTest [_doZWrite] | ||
CGPROGRAM | ||
#pragma vertex vert | ||
#pragma fragment frag | ||
#pragma target 2.0 | ||
|
||
#include "UnityCG.cginc" | ||
|
||
#pragma multi_compile_local _ UNITY_UI_CLIP_RECT | ||
#pragma multi_compile_local _ UNITY_UI_ALPHACLIP | ||
|
||
struct appdata_t | ||
{ | ||
float4 vertex : POSITION; | ||
float4 color : COLOR; | ||
}; | ||
|
||
struct v2f | ||
{ | ||
float4 vertex : SV_POSITION; | ||
fixed4 color : COLOR; | ||
float4 worldPosition : TEXCOORD1; | ||
}; | ||
|
||
fixed4 _Color; | ||
fixed4 _TextureSampleAdd; | ||
float4 _ClipRect; | ||
float4 _MainTex_ST; | ||
|
||
v2f vert(appdata_t v) | ||
{ | ||
v2f OUT; | ||
OUT.worldPosition = v.vertex; | ||
OUT.vertex = UnityObjectToClipPos(OUT.worldPosition); | ||
|
||
OUT.color = v.color * _Color; | ||
return OUT; | ||
} | ||
|
||
fixed4 frag(v2f IN) : SV_Target | ||
{ | ||
half4 color = IN.color; | ||
|
||
return color; | ||
} | ||
ENDCG | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.