Ok, I finally can solve it with this function: loadShaderSourceFromFile(...)
No I'm not having errors of compiling shaders, and executing it. Returning to the topic of this post: If I comment the MultitexCoord line, nothing is showing in the viewer, but that's logic. The problem if is it uncommented ( I need theis function so I can pass my parameters to the shader in each vertex I have) the application crashes, and I got a Warning: Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) Any Ideas? Thanksss!! Cheers, Pau ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=15928#15928 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org