blob: fe74caffbebb501968de041856f9cdb706e4c27b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//Copyright 2010 JogAmp Community. All rights reserved.
/**
* AMD complains: #version must occur before any other statement in the program
#ifdef GL_ES
#version 100
#else
#version 110
#endif
*/
#include uniforms.glsl
#include attributes.glsl
#include varyings.glsl
void main(void)
{
// gl_Position = gcu_PMVMatrix[0] * gcu_PMVMatrix[1] * vec4(gca_Vertices, 1);
gl_Position = gcu_PMVMatrix[0] * gcu_PMVMatrix[1] * gca_Vertices;
gcv_TexCoord = gca_TexCoords;
}
|