I forgot this :

You declare an input attribute : 


Code:
attribute vec3 Vertex;



But have you set and bind any vertex attribute called "Vertex" ?

I think you should remove this line and use :


Code:
vPosition = osg_ModelViewMatrix * vec4([b]gl_Vertex.xyz[/b] * ModelScale, 1.0);



------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52868#52868





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

Reply via email to