blob: 8bf3beea1194599d5ac27c2d5797e5e9ef4be54e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//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;
}
|