Hi Houxl, Try disabling the default shader (which is enabled by default in oceanscene)
void OceanScene::setUseDefaultSceneShader( bool enable ) { _enableDefaultShader = enable; } Regards, Kim. 2009/8/25 Hou Xl <osg...@163.com>: > Hi,kim > > I print screen and get some images.From the three images you maybe know what > happen in spaceship flame trail.In fact ,i want to get the reason why the > flame trail turns grey or white when i toggle glare and dof(underwater) false > at run time. > > Thank you! > > Cheers, > houxl > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=16707#16707 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org