mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-17 05:49:30 -07:00
Matrix React component 1.0.0
This commit is contained in:
10
shaders/glsl/bloomPass.vert.glsl
Normal file
10
shaders/glsl/bloomPass.vert.glsl
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user