mirror of
https://github.com/schibo/1964js.git
synced 2025-04-02 10:52:54 -04:00
15 lines
No EOL
430 B
GLSL
15 lines
No EOL
430 B
GLSL
attribute vec3 aVertexPosition;
|
|
attribute vec4 aVertexColor;
|
|
attribute vec2 aTextureCoord;
|
|
|
|
uniform mat4 uMVMatrix;
|
|
uniform mat4 uPMatrix;
|
|
|
|
varying highp vec4 vColor;
|
|
varying vec2 vTextureCoord;
|
|
|
|
void main(void) {
|
|
gl_Position = uPMatrix * uMVMatrix * vec4(aVertexPosition, 1.0);
|
|
vColor = aVertexColor;
|
|
vTextureCoord = aTextureCoord;
|
|
} |