diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-09-09 02:52:01 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-09-09 02:53:10 +0200 |
commit | a47638aab5af2a425b2bc6342c7bed6a79a771da (patch) | |
tree | de79effb17a18917e801224a3907683cc889e851 /src/default.vs | |
download | rpgedit-a47638aab5af2a425b2bc6342c7bed6a79a771da.tar rpgedit-a47638aab5af2a425b2bc6342c7bed6a79a771da.zip |
Initial setup (Webpack, TypeScript, WebGL)
Diffstat (limited to 'src/default.vs')
-rw-r--r-- | src/default.vs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/default.vs b/src/default.vs new file mode 100644 index 0000000..457a528 --- /dev/null +++ b/src/default.vs @@ -0,0 +1,8 @@ +attribute vec3 aVertexPosition; + +uniform mat4 uVMatrix; +uniform mat4 uPMatrix; + +void main(void) { + gl_Position = uPMatrix * uVMatrix * vec4(aVertexPosition, 1.0); +} |