//Copyright 2010 JogAmp Community. All rights reserved. #ifdef GL_ES precision highp float; precision highp 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; }