share/hedgewars/Data/Shaders/water.vs
author Vittorio Giovara <vittorio.giovara@gmail.com>
Wed, 04 Nov 2015 16:20:46 +0100
branch0.9.22
changeset 11348 2f812d4513d1
parent 8334 abb48dd39e26
child 11317 62287d4044e7
permissions -rw-r--r--
Specify the enum type for Pixel and Sample formats



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;
}