diff --git a/src/osgPlugins/flt/flt2osg.cpp b/src/osgPlugins/flt/flt2osg.cpp index f7d6255a4..a8e94a0b7 100644 --- a/src/osgPlugins/flt/flt2osg.cpp +++ b/src/osgPlugins/flt/flt2osg.cpp @@ -1155,13 +1155,8 @@ void ConvertFromFLT::setTexture ( FaceRecord *rec, SFace *pSFace, osg::StateSet if (osgTexture) { osg::Image* osgImage = osgTexture->getImage(); - switch (osgImage->getPixelFormat()) - { - case GL_LUMINANCE_ALPHA: - case GL_RGBA: - bBlend = true; - break; - } + if (osgImage->isImageTranslucent()) bBlend = true; + } #if 0 // Started to experiment with OpenFlight texture mapping modes