PageRenderTime 88ms CodeModel.GetById 84ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Resources/shaders/basicTexture.vsh

http://github.com/tartiflop/ojgl
Vertex Shader File | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | 9eb8b86ea074516314d8b8a0eab13847 MD5 | raw file
 1uniform mat4 u_mvMatrix;
 2uniform mat4 u_mvpMatrix;
 3
 4attribute vec4 a_vertex;
 5attribute vec2 a_texCoord;
 6
 7varying vec2 v_texCoord;
 8
 9void main(void) {
10	v_texCoord = a_texCoord;
11	gl_Position = u_mvpMatrix * a_vertex;
12}