Update wave.swsl (#388)

This commit is contained in:
Tornado Tech
2024-08-05 23:48:22 +10:00
committed by GitHub
parent 1f4b7f68bf
commit 12d2af692f

View File

@@ -3,9 +3,9 @@ preset raw;
varying highp vec2 Pos;
varying highp vec4 VtxModulate;
uniform highp float Speed = 3.0;
uniform highp float Dis = 10.0;
uniform highp float Offset = 0.0;
uniform highp float Speed;
uniform highp float Dis;
uniform highp float Offset;
void fragment() {
// Re-create base mvp
@@ -21,4 +21,4 @@ void vertex() {
UV = mix(modifyUV.xy, modifyUV.zw, tCoord);
UV2 = tCoord2;
VtxModulate = zFromSrgb(modulate);
}
}