Thanks Lionel & Seb, that's very helpful. When I tried setting ints to a Sampler2D array it said that it couldn't take ints, which is why I thought it wasn't supported. If I set to ints directly though it does work.
------------------------ http://www.hrwallingford.com/facilities/ship-simulation-centre (http://www.hrwallingford.com/facilities/ship-simulation-centre) ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66604#66604 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org