diff --git a/src/osgPlugins/nvtt/NVTTImageProcessor.cpp b/src/osgPlugins/nvtt/NVTTImageProcessor.cpp index 7b89fe362..b11000a21 100644 --- a/src/osgPlugins/nvtt/NVTTImageProcessor.cpp +++ b/src/osgPlugins/nvtt/NVTTImageProcessor.cpp @@ -119,6 +119,12 @@ bool NVTTProcessor::OSGImageOutputHandler::assignImage(osg::Image& image) case nvtt::Format_DXT5: pixelFormat = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT; break; + case nvtt::Format_BC4: + pixelFormat = GL_COMPRESSED_RED_RGTC1_EXT; + break; + case nvtt::Format_BC5: + pixelFormat = GL_COMPRESSED_RED_GREEN_RGTC2_EXT; + break; default: OSG_WARN<<" Invalid or not supported format"<