From 1f8f5c2773501095db19e34d6a47840dae8c4293 Mon Sep 17 00:00:00 2001 From: "ALIENJACK\\alien" Date: Fri, 8 Nov 2024 12:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E5=BC=82=E5=B8=B8=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E4=BC=98=E5=8C=96,XMBshader=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AxibugEmuOnline.Client/Assets/Script/Event/Eventer.cs | 2 +- .../Assets/Script/UI/XMBBackGround.shader | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/AxibugEmuOnline.Client/Assets/Script/Event/Eventer.cs b/AxibugEmuOnline.Client/Assets/Script/Event/Eventer.cs index da07fda..59f3e4d 100644 --- a/AxibugEmuOnline.Client/Assets/Script/Event/Eventer.cs +++ b/AxibugEmuOnline.Client/Assets/Script/Event/Eventer.cs @@ -214,7 +214,7 @@ namespace AxibugEmuOnline.Client.Event } catch (Exception e) { - App.log.Error(e.Message); + App.log.Error(e.InnerException.ToString()); } } } diff --git a/AxibugEmuOnline.Client/Assets/Script/UI/XMBBackGround.shader b/AxibugEmuOnline.Client/Assets/Script/UI/XMBBackGround.shader index 0932bd2..1c017c0 100644 --- a/AxibugEmuOnline.Client/Assets/Script/UI/XMBBackGround.shader +++ b/AxibugEmuOnline.Client/Assets/Script/UI/XMBBackGround.shader @@ -2,7 +2,6 @@ { Properties { - _MainTex ("Sprite Texture", 2D) = "white" {} _Color ("Tint", Color) = (1,1,1,1) _StencilComp ("Stencil Comparison", Float) = 8 @@ -75,12 +74,9 @@ UNITY_VERTEX_OUTPUT_STEREO }; - sampler2D _MainTex; fixed4 _Color; fixed4 _TextureSampleAdd; - float4 _ClipRect; - float4 _MainTex_ST; - float4 _MainTex_TexelSize; + float4 _ClipRect; float wave(float x, float frequency, float speed, float midHeight, float maxHeight) { @@ -105,7 +101,7 @@ OUT.worldPosition = v.vertex; OUT.vertex = UnityObjectToClipPos(OUT.worldPosition); - OUT.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex); + OUT.texcoord =v.texcoord; OUT.color = v.color * _Color; return OUT;