It seems that you are now using the shader you are expecting. But you have error in your GLSL code...

Try replace the GLSL code, with a simple "Hello World" GLSL example. Just to see that the GLSL code compiles correctly.

On Thu, 16 Oct 2008 00:08:59 +0200, ami guru <[EMAIL PROTECTED]> wrote:

Hi Joakim,

Thats the error with the previous suggestion

*****************************************'
FRAGMENT glCompileShader "" FAILED


But works fine if i have the following instead...

    ref_ptr<StateSet> nodess3 (myshapegeode3->getOrCreateStateSet());

I doubt that the above line compiles. You should use the clone function if you want to copy things.



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

Reply via email to