generated from sigonasr2/JavaProjectTemplate
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
397 B
20 lines
397 B
2 years ago
|
// Copyright 2012 JogAmp Community. All rights reserved.
|
||
|
|
||
|
#if __VERSION__ >= 130
|
||
|
#define attribute in
|
||
|
#define varying out
|
||
|
#endif
|
||
|
|
||
|
uniform mat4 mgl_PMVMatrix[2];
|
||
|
|
||
|
attribute vec4 mgl_Vertex;
|
||
|
attribute vec4 mgl_MultiTexCoord;
|
||
|
|
||
|
varying vec2 mgl_texCoord;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
mgl_texCoord = mgl_MultiTexCoord.st;
|
||
|
gl_Position = mgl_PMVMatrix[0] * mgl_PMVMatrix[1] * mgl_Vertex;
|
||
|
}
|