From 10e7d8d4ff66918feeac3196d2819fadecf95a8e Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 5 Jan 2016 17:11:37 +0100 Subject: [PATCH] Fixed: Don't load grayscale textures as alpha --- code/nel/tools/3d/panoply_maker/panoply_maker.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/nel/tools/3d/panoply_maker/panoply_maker.cpp b/code/nel/tools/3d/panoply_maker/panoply_maker.cpp index 328639eb6..2c50dfc83 100644 --- a/code/nel/tools/3d/panoply_maker/panoply_maker.cpp +++ b/code/nel/tools/3d/panoply_maker/panoply_maker.cpp @@ -656,6 +656,9 @@ static void BuildColoredVersionForOneBitmap(const CBuildInfo &bi, const std::str { if (is.open(fullInputBitmapPath)) { + // 8 bits textures are grayscale + srcBitmap.loadGrayscaleAsAlpha(false); + depth = srcBitmap.load(is); is.close();