share/hedgewars/Data/Shaders/default.vs
author antonc27 <antonc27@mail.ru>
Tue, 17 Nov 2015 16:34:20 +0100
branchios-revival
changeset 11414 e0600c5964c7
parent 11317 62287d4044e7
child 11800 2028bd2a6c5b
permissions -rw-r--r--
- Removed SDLTry from call to SDL_GL_SetSwapInterval Note: "blame it on me in commit message if you want x)" sheepluva



attribute vec2 vertex;
attribute vec2 texcoord;
attribute vec4 colors;

varying vec2 tex;

uniform mat4 mvp;

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