Hi, Am 11.06.11 10:47, schrieb Linda Lee: > and in the fragment shader: > > uniform sampler2DArray test; > > > and access it using: > > gl_FragColor = texture2DArray(test, vec3(0, 0, 0));
Do you get any compile-error for your shader? I had to add these lines to get texure2DArrays working in my shader: #version 120 #extension GL_EXT_gpu_shader4 : enable #extension GL_EXT_texture_array : enable hth, Stephan _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org