Matrix React component 1.0.0

This commit is contained in:
nohren
2023-08-07 02:03:46 -07:00
parent 5ba9049045
commit 3bc0d5d346
24 changed files with 9039 additions and 1236 deletions

View File

@@ -0,0 +1,10 @@
/* shaders/glsl/fullscreen.vert.glsl */
precision mediump float;
attribute vec2 aPosition; // will come from JS buffer
varying vec2 vUV;
void main () {
vUV = aPosition * 0.5 + 0.5; // (1…1) → (0…1)
gl_Position = vec4(aPosition, 0.0, 1.0);
}