blob: 10869d68d2b9aa75528f1ef6383fc0f86e742fb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
attribute vec3 coord2d;
attribute vec2 tex_coord;
uniform vec4 tex_color;
uniform mat4 ortho;
uniform mat4 transform;
varying vec2 texCoord;
varying vec4 color;
void main(){
color = tex_color;
texCoord = tex_coord;
gl_Position = ortho * transform * vec4(coord2d.xyz, 1.0);
}
|