Enable crinkler

This commit is contained in:
2025-07-15 00:32:15 +03:00
parent 96de65cde0
commit 3fcd960c9c
5 changed files with 8 additions and 10 deletions

View File

@ -3,7 +3,7 @@ precision mediump float;
out vec4 o;
const float PI = 22./7.;
layout(location = 0) uniform float syncs[7];
layout(location = 8) uniform float fft_output[512]; // FFT_SIZE / 4
layout(location = 8) uniform float fft_output[1024]; // FFT_SIZE / 4
float u_time = syncs[0];
vec3 render(vec2 uv, float time) {

View File

@ -11,7 +11,7 @@ const char *fragment_frag =
"out vec4 f;"
"const float m=22./7.;"
"layout(location=0)uniform float v[7];"
"layout(location=8)uniform float l[512];"
"layout(location=8)uniform float l[1024];"
"float n=v[0];"
"void main()"
"{"