Ship the WeChat hot-update catalogs and the camp, TideWhale T2, UI atlas, and animation-lab work.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,7 +3,7 @@ Shader "AIGame/HomeExplorerCutout"
|
||||
Properties
|
||||
{
|
||||
_MainTex ("Tex", 2D) = "white" {}
|
||||
_Key ("Key", Color) = (0.07, 0.02, 0.09, 1)
|
||||
_Key ("Key", Color) = (1, 0, 1, 1)
|
||||
}
|
||||
SubShader
|
||||
{
|
||||
@@ -25,8 +25,9 @@ Shader "AIGame/HomeExplorerCutout"
|
||||
fixed4 frag(v2f i) : SV_Target
|
||||
{
|
||||
fixed4 c = tex2D(_MainTex, i.uv);
|
||||
if (distance(c.rgb, _Key.rgb) < 0.12) discard;
|
||||
c.a = 1;
|
||||
float d = distance(c.rgb, _Key.rgb);
|
||||
c.a = smoothstep(0.18, 0.42, d);
|
||||
if (c.a < 0.02) discard;
|
||||
return c;
|
||||
}
|
||||
ENDCG
|
||||
|
||||
Reference in New Issue
Block a user