share/hedgewars/Data/Shaders/water.vs
author unc0rr
Sat, 12 Jun 2021 20:15:42 +0200
changeset 15790 efe4e3290870
parent 12879 286e170f4f6b
permissions -rw-r--r--
Add url bot plugin based on url-bot-rs (only the difference from their repo)

#ifdef GL_ES
precision mediump float;
#endif

attribute vec2 vertex;
attribute vec4 color;

varying vec4 vcolor;

uniform mat4 mvp;

void main()
{
    vec4 p = mvp * vec4(vertex, 0.0, 1.0);
    gl_Position = p;
    vcolor = color;
}