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