Repairing the bloom

This commit is contained in:
Rezmason
2025-05-04 22:00:53 -07:00
parent 42011c3c19
commit 6183accac5
2 changed files with 78 additions and 131 deletions

View File

@@ -1,10 +0,0 @@
/* 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);
}