diff --git a/src/assimp/assimp.cpp b/src/assimp/assimp.cpp index 4bf1ba2..2634807 100644 --- a/src/assimp/assimp.cpp +++ b/src/assimp/assimp.cpp @@ -311,6 +311,11 @@ SamplerData SceneConverter::convertTexture(const aiMaterial& material, aiTexture case VK_FORMAT_R8G8_UNORM: samplerImage.data->properties.format = VK_FORMAT_R8G8_SRGB; break; + case VK_FORMAT_R8G8B8A8_SRGB: + case VK_FORMAT_R8_SRGB: + case VK_FORMAT_R8G8_SRGB: + // Probably set by us already + break; default: vsg::warn("Can't set format ", samplerImage.data->properties.format, "to sRGB."); break;