To do what you want, use a Uniform. Try doing a case insensitive grep in the OSG source and examples for the word "uniform" for more info.
Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Brett Sent: Wednesday, April 29, 2009 5:09 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] how to specify GLSL attribute?? Hi, Im new to osg.I want to use an attribute float vertextemp; in my vertex shader.How to give that array to vertex shader. Thank you. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11071#11071 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org