master #36

Merged
sin365 merged 4 commits from Alienjack/AxibugEmuOnline_old:master into master 2024-09-13 18:05:32 +08:00
Showing only changes of commit e4bbc5eee1 - Show all commits

View File

@ -82,10 +82,6 @@
float4 _MainTex_ST;
float4 _MainTex_TexelSize;
float3 lerp(float3 color1, float3 color2, float value)
{
return value * (color2 - color1) + color1;
}
float wave(float x, float frequency, float speed, float midHeight, float maxHeight)
{
return (sin(frequency * (x + speed * (((1. - (pow(cos(0.002 * (_Time.y + 400.)), 2.) + 1.) / 2.) + .1) * 2048.))) * (maxHeight - midHeight)) + midHeight;