I found the solution :) The uniform must be named "rgb[0]" when being an array.
Like this: Code: osg::Uniform* rgbUniform = new osg::Uniform(osg::Uniform::FLOAT,"rgb[0]",3); ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22502#22502 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

