Hi,
Are you sure that the shaders can be found properly? I.e. is the
OSG_FILE_PATH set?
Raymond
On 5/18/11 11:22 PM, [email protected] wrote:
What OS, GPU, driver?
-- mew
------Original Message------
From: John Warner
Sender: [email protected]
To: [email protected]
ReplyTo: [email protected]
Subject: [osg-users] Error in example?
Sent: May 18, 2011 12:51
Hi,
Just uploaded 2.8.4 and investigating the use of shaders to build some edge
blending code. Tried example osgshaderterrain and got the following error at
runtime
bin]# ./osgshaderterrain
Creating terrain...done.
glLinkProgram "" FAILED
Program "" infolog:
Vertex info
-----------
(16) : error C3004: function "texture2D" not supported in this profile
Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,)
So went back to 2.8.3 and tried that example -- same results.
GLSL linking problem? Missing dependency?
Any suggestions where to look for the problem. Rather new at this shading
stuff so please excuse if the error is obvious to more seasoned developers.
...
Thank you!
Cheers,
John
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39511#39511
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Sent from my BlackBerry® smartphone, powered by CREDO Mobile.
_______________________________________________
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