From 92ba772967a2841c7a1bc72ac23bb19bb1399e8f Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 27 Mar 2021 13:18:06 -0700 Subject: GLTF Loader: fixed default alpha channel value of 3-component textures --- AssetLoader/src/GLTFLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AssetLoader/src/GLTFLoader.cpp') diff --git a/AssetLoader/src/GLTFLoader.cpp b/AssetLoader/src/GLTFLoader.cpp index ff77f0b..b000caa 100644 --- a/AssetLoader/src/GLTFLoader.cpp +++ b/AssetLoader/src/GLTFLoader.cpp @@ -1605,7 +1605,7 @@ bool LoadImageData(tinygltf::Image* gltf_image, DstPixel[0] = SrcPixel[0]; DstPixel[1] = SrcPixel[1]; DstPixel[2] = SrcPixel[2]; - DstPixel[3] = 1; + DstPixel[3] = 255; } } } -- cgit v1.2.3