Sorry for reviving a dead horse (old thread).

I am having the same problem with Intel 4 Series notebook graphics
(latest drivers). As soon as anything renders GLSL prior in the scene
graph, the ARB shader based drawables disappear. This only affects
Intel, nVidia remains unaffected. I am using OSG 3.0.1.

I have tried setting the following states on any drawable that relies
on ARB shaders (hoping to remove the GLSL shader from the state set),
but the problem remained.

stateSet->setAttributeAndModes(new osg::Program,
osg::StateAttribute::OFF | osg::StateAttribute::PROTECTED);

stateSet->setAttributeAndModes(new osg::Program,
osg::StateAttribute::ON | osg::StateAttribute::PROTECTED);

stateSet->setAttributeAndModes(new osg::Program,
osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE |
osg::StateAttribute::PROTECTED );

But none of these options worked.

I have been able to work around the problem by shifting the render
bins so that GLSL based drawables are drawn after ARB shader based
drawables

Intel has given me nothing but trouble with their drivers in the past.

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

Reply via email to