forked from sin365/AxibugEmuOnline
事件异常日志优化,XMBshader优化
This commit is contained in:
parent
7971b4a4ba
commit
1f8f5c2773
@ -214,7 +214,7 @@ namespace AxibugEmuOnline.Client.Event
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
App.log.Error(e.Message);
|
App.log.Error(e.InnerException.ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
{
|
{
|
||||||
Properties
|
Properties
|
||||||
{
|
{
|
||||||
_MainTex ("Sprite Texture", 2D) = "white" {}
|
|
||||||
_Color ("Tint", Color) = (1,1,1,1)
|
_Color ("Tint", Color) = (1,1,1,1)
|
||||||
|
|
||||||
_StencilComp ("Stencil Comparison", Float) = 8
|
_StencilComp ("Stencil Comparison", Float) = 8
|
||||||
@ -75,12 +74,9 @@
|
|||||||
UNITY_VERTEX_OUTPUT_STEREO
|
UNITY_VERTEX_OUTPUT_STEREO
|
||||||
};
|
};
|
||||||
|
|
||||||
sampler2D _MainTex;
|
|
||||||
fixed4 _Color;
|
fixed4 _Color;
|
||||||
fixed4 _TextureSampleAdd;
|
fixed4 _TextureSampleAdd;
|
||||||
float4 _ClipRect;
|
float4 _ClipRect;
|
||||||
float4 _MainTex_ST;
|
|
||||||
float4 _MainTex_TexelSize;
|
|
||||||
|
|
||||||
float wave(float x, float frequency, float speed, float midHeight, float maxHeight)
|
float wave(float x, float frequency, float speed, float midHeight, float maxHeight)
|
||||||
{
|
{
|
||||||
@ -105,7 +101,7 @@
|
|||||||
OUT.worldPosition = v.vertex;
|
OUT.worldPosition = v.vertex;
|
||||||
OUT.vertex = UnityObjectToClipPos(OUT.worldPosition);
|
OUT.vertex = UnityObjectToClipPos(OUT.worldPosition);
|
||||||
|
|
||||||
OUT.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex);
|
OUT.texcoord =v.texcoord;
|
||||||
|
|
||||||
OUT.color = v.color * _Color;
|
OUT.color = v.color * _Color;
|
||||||
return OUT;
|
return OUT;
|
||||||
|
Loading…
Reference in New Issue
Block a user