Is there a nice way of passing arrays to shaders? If thats is not possible i tought i could write the array to an image and pass the data as texture. This way i could use every pixel color as arrayitem. This of course would limit the values between 1 and 0 which is not quite what i want.
Any suggestions for this problem?