- UI SFX v3: procedurally synthesized one-shots (Tools/synth_ui_sfx.py) wired to buttons, rewards, errors and red dots via UiSfx, gated by the SFX setting. - Five formal enemies (Hornlet, Dashlet, Shellhorn, HornCaptain, GreatHorn): Hunyuan 50k -> 2000-tri XPbr, DGXA TokenRig, Idle/Walk/Attack, nested per type in PrototypeArena; PrototypeBattle.Enemy gains presentation-only Moving/Strikes. - Formal partners for all ten pets in the arena and portraits, including new VineSprite, ThunderLeopard and TideWhale. - Pipeline fixes: reject local TokenRig fallback, drop loose mesh islands, configurable Unity run_script timeout, companion static stage. - Also includes concurrent work from another tool in this working tree (FlameLion, enemy combat FX, challenge mode, home explorer, server updates). - Resources registered in Doc/ResDesc_*.md; verified on isolated :18081. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
Shader "AIGame/HomeExplorerCutout"
|
|
{
|
|
Properties
|
|
{
|
|
_MainTex ("Tex", 2D) = "white" {}
|
|
_Key ("Key", Color) = (0.07, 0.02, 0.09, 1)
|
|
}
|
|
SubShader
|
|
{
|
|
Tags { "Queue"="Transparent" "RenderType"="Transparent" "IgnoreProjector"="True" }
|
|
Blend SrcAlpha OneMinusSrcAlpha
|
|
ZWrite Off
|
|
Cull Off
|
|
Pass
|
|
{
|
|
CGPROGRAM
|
|
#pragma vertex vert
|
|
#pragma fragment frag
|
|
#include "UnityCG.cginc"
|
|
sampler2D _MainTex;
|
|
float4 _Key;
|
|
struct appdata { float4 vertex : POSITION; float2 uv : TEXCOORD0; };
|
|
struct v2f { float4 vertex : SV_POSITION; float2 uv : TEXCOORD0; };
|
|
v2f vert(appdata v) { v2f o; o.vertex = UnityObjectToClipPos(v.vertex); o.uv = v.uv; return o; }
|
|
fixed4 frag(v2f i) : SV_Target
|
|
{
|
|
fixed4 c = tex2D(_MainTex, i.uv);
|
|
if (distance(c.rgb, _Key.rgb) < 0.12) discard;
|
|
c.a = 1;
|
|
return c;
|
|
}
|
|
ENDCG
|
|
}
|
|
}
|
|
}
|