0ad/binaries/data/mods/public/shaders/glsl/hdr.vs
historic_bruno 7dec618898 Some attempts to fix GLES build in smooth LOS and post proc manager.
Replaces glBegin/End with glDrawArrays, GL_QUADS with GL_TRIANGLES, and
replaces glPush/PopAttrib by resetting the viewport manually.
Adjusts GLSL shaders for these changes.

This was SVN commit r14152.
2013-11-12 01:30:17 +00:00

14 lines
171 B
GLSL

#version 110
varying vec2 v_tex;
attribute vec3 a_vertex;
attribute vec2 a_uv0;
void main()
{
gl_Position = vec4(a_vertex, 1.0);
v_tex = a_uv0;
}