[osg-users] osg::Program and osgViewer::Renderer::Compile

2014-02-28 Thread Filip Arlet
Hi, I have problem with osg::Program and osgViewer::Renderer::compile(). I have scene graph with shader only for some part of it. But when display lists are compiled, shader is always active. Its geometry shader with LINES as input so any other geometry will raise opengl error. Shader even rem

Re: [osg-users] osg::Program and osgViewer::Renderer::Compile

2014-04-17 Thread Robert Osfield
HI Filip, I don't know whether it'll help with your case, but it's worth trying, there are fixes in svn/trunk and OSG-3.2 for handling osg::Program combinations in GLObjectVisitor/IncrementalCompileOperation so I'd recommend you try one of these versions of the OSG to see if that helps. Robert.