Hello, I would like to know if it is possible to use uniform array with Pd/Gem and GLSL ?
For example : In Pd : [posX 0.5 0.3 0.6 0.7 0.9( | [glsl_program] In fragment shader : uniform float posX[5] void main (void) { gl_FragColor = vec4(posX[0], posX[2], posX[4], 1.0); } ++ Jack _______________________________________________ GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev