Hi Kai, I tested that on my Geforce 8600 GT and it works just fine. What you want to do is:
1) Create Texture2DMultisample object and indicate number of samples, for example: ref_ptr<Texture2DMultisample> tex2DMS = new Texture2DMultisample(4,false); 2) Attach to camera. Since you will use multisampled texture instead multisampled RenderBuffer you should attach texture without indicating number of multisamples, you already did that for texture object, just simply do: camera->attach(osg::Camera::COLOR_BUFFER, tex2DMS); In my case I attached only multisampled textures (4 multisampled targets) and I am almost sure you can't attach different types of targets for one camera, just check that out and attach only Texture2DMultisample, all with the same number of subsamples. regards, Marcin ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27345#27345 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
