summaryrefslogtreecommitdiff
path: root/sample.vs
blob: d64c564272552d9b3208709ea11d6108f48b356b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 120

uniform mat4 model_x;

attribute vec3 i_vertex;
attribute vec2 i_texcoord;

void main()
{
	gl_TexCoord[0].xy = i_texcoord;
	gl_Position = model_x * vec4(i_vertex, 1.f);
}
© All Rights Reserved