Hi all,

following the suggestion provided in this thread
http://forum.openscenegraph.org/viewtopic.php?t=1641
I've tried to enable the multisampling in the osgPPU glow example (FBO
render implementation),
changing the attach call to the main camera in this one:

camera->attach(osg::Camera::COLOR_BUFFER0, textureView, 0, 0, false, 4, 4);

On the glow-camera no anti-alias is needed, so I left it untouched.

Even though the code seems to work, I get an openGL warning at every frame:
--- Warning: detected OpenGL error 'invalid operation' at start of
State::apply() ---

Same code on the HDR example doesn't result in any warning.

I'm not sure what is the difference in the 2 cases, and can't find a way to
solve it.
Any hint is appreciated.

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

Reply via email to