2018-03-30 11:16:49 +00:00
|
|
|
attribute vec3 vPosition;
|
|
|
|
attribute vec2 vTexCoord;
|
|
|
|
attribute vec4 vColor;
|
|
|
|
|
2018-11-29 03:37:06 +00:00
|
|
|
varying vec2 texCoord;
|
|
|
|
varying vec4 color;
|
2018-03-30 11:16:49 +00:00
|
|
|
|
|
|
|
uniform mat4 ProjectionMatrix;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
|
|
|
|
texCoord = vTexCoord;
|
|
|
|
color = vColor;
|
|
|
|
}
|