13 lines
281 B
Plaintext
13 lines
281 B
Plaintext
|
attribute vec3 vPosition;
|
||
|
attribute vec2 vTexCoord;
|
||
|
varying vec2 texCoord;
|
||
|
varying vec3 vertexPos;
|
||
|
uniform mat4 ProjectionMatrix;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
//480x320
|
||
|
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
|
||
|
vertexPos = vPosition.xyz;
|
||
|
texCoord = vTexCoord;
|
||
|
}
|