mirror of
https://github.com/schibo/1964js.git
synced 2025-04-02 10:52:54 -04:00
Add .gitattributes Add .gitignore Update README to GitHub-flavored Markdown Fix shader files on Windows and on systems that don't handle files without extensions well
10 lines
No EOL
311 B
GLSL
10 lines
No EOL
311 B
GLSL
attribute vec3 aVertexPosition;
|
|
attribute vec2 aTextureCoord;
|
|
uniform mat4 uMVMatrix;
|
|
uniform mat4 uPMatrix;
|
|
varying vec2 vTextureCoord;
|
|
|
|
void main(void) {
|
|
gl_Position = uPMatrix * uMVMatrix * vec4(aVertexPosition, 1.0);
|
|
vTextureCoord = aTextureCoord;
|
|
} |