Umit, Sorry to be picky, but:
Firstly, uniform variables are intented to using in rarely changing values, > and attributes is used while needing frequently changing values. > Not quite. Lots of the "fixed-function" uniforms - which are deprecated under GL3 - potentially change every frame ( gl_ModelViewMatrix etc. ). Attributes are per-vertex data, like position, normals, texcoords and so on. Uniforms are the same across a set of vertices. David
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

