blob: 530b24f64726c4a3a8e7ed787ff15fa4b0ab1be8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//Copyright 2010 JogAmp Community. All rights reserved.
#ifdef GL_ES
precision lowp float;
precision lowp int;
#endif
uniform mat4 gcu_PMVMatrix[3]; // P, Mv, and Mvi
varying vec2 gcv_TexCoord;
attribute vec4 gca_Vertices;
attribute vec2 gca_TexCoords;
void main(void)
{
gl_Position = gcu_PMVMatrix[0] * gcu_PMVMatrix[1] * gca_Vertices;
gcv_TexCoord = gca_TexCoords;
}
|