I’m trying to make a chop visualiser with GLSL and for this I wanted to pipe a chop with different channels into my glsl pipeline. So far I managed to combine the two but it looks like the GLSL Array only looks at the first channel samples and tries to put that into the array instead of getting each individual channel for each array element.
So to further explain:
Right now it looks like the GLSL Array looks like this: [c1.sample1,c1.sample2,c1.sample3, …]
and because there are no additional samples the samples 2->12 look like ghost values.
But what I actually need is [c1.value,c2.value,c3.value,c4.value, …]
When I use a pattern Chop, which generates a single channel with multiple samples, the shader works as intended.
So far the chop only contains 12 channels for testing but my final goal is to visualise an entire DMX universe of 512 channels so typing the values individualy as vectors or constants isn’t realy an option.
Anyone who knows how to solve this or has a workaround?