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: [email protected]
[mailto:[email protected]] On Behalf Of Brett
Sent: Wednesday, April 29, 2009 5:09 PM
To: [email protected]
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to