0ad/binaries/data/mods/public/shaders/glsl/los_interp.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

20 lines
249 B
GLSL

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