mike.weiblen wrote: > What OS, GPU, driver? > > OS is Linux 2.6.23 with Xenomai real time extension > > GPUs are older Nvidia boards, GEForce 8400s and 9400s > > NV driver is X86_64-173.14.12. > > Yea, know I need a serious upgrade ;-) > > Have some GTX 460s on the shelf, but trying to get this shader stuff working > before replacing the hardware > > I'm certain the shaders are working, running the FlightGear programs 2.0 and > 2.2 on a multiple display setup and the shaders in these programs are working > and the basic osgshader example also works. > > Tried a couple of variations on the shader code based on the NeHe Lesson #21 > example and other sites from browsing the web. Kind of got it working in that > the error msgs are gone using the shaders called out in the NeHe example; > however all that is displayed is a black rectangle where the lz.rgb texture > should be. > > > -- mew > > > ------Original Message------ > From: John Warner > Sender: > To: > ReplyTo: > Subject: 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 > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > Sent from my BlackBerry® smartphone, powered by CREDO Mobile. > _______________________________________________ > osg-users mailing list > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ------------------ > Post generated by Mail2Forum
------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39523#39523 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

