kbale / osgocean

An ocean rendering nodekit for OpenSceneGraph
GNU Lesser General Public License v3.0
109 stars 56 forks source link

Multisampling #61

Closed Daoudou closed 7 months ago

Daoudou commented 1 year ago

Hello everyone !

I have a question or a issue.

i want to set a multisampling for the anti-aliasing with osgOcean but it's dosen't work.

Here a picture of my problem :

Capture d’écran (85)

To the left a simple scene with multisampling (work) and to the right a scene with osgOcean and a multisampling (don't work)

I set the multisampling before the osg::Viewer in the int main function.

osg::DisplaySettings::instance()->setNumMultiSamples( 4 );

if someone have a solution please :).

Thanks in advance

SOUFFOU Daoudou