2019-02-20 14:23:23 +00:00
|
|
|
#version 110
|
|
|
|
|
2021-08-19 09:54:41 +00:00
|
|
|
attribute vec3 v_position;
|
2019-02-20 14:23:23 +00:00
|
|
|
attribute vec2 v_tex_coords;
|
|
|
|
|
|
|
|
varying vec2 tex_coords;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2021-08-19 09:54:41 +00:00
|
|
|
gl_Position = gl_ModelViewProjectionMatrix * vec4(v_position, 1.0);
|
2019-02-20 14:23:23 +00:00
|
|
|
tex_coords = v_tex_coords;
|
2019-02-28 08:04:17 +00:00
|
|
|
}
|