1
Fork 0

typescript(fourjs): first commit

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2019-01-17 15:53:12 +02:00 committed by prescientmoon
parent 7dce9eb842
commit c19818b95b
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
15 changed files with 736 additions and 0 deletions
typescript/fourjs/shaders

View file

@ -0,0 +1,9 @@
#version 300 es
precision mediump float;
out vec4 finalColor;
void main(void) {
finalColor = vec4(0.0, 0.0, 0.0, 1.0);
}

View file

@ -0,0 +1,9 @@
#version 300 es
in vec3 a_position;
uniform float uPointSize;
void main(void){
gl_PointSize = uPointSize;
gl_Position = vec4(a_position, 1.0);
}