diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2021-03-27 20:18:06 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-03-27 20:18:06 +0000 |
| commit | 92ba772967a2841c7a1bc72ac23bb19bb1399e8f (patch) | |
| tree | 55ff3db74bf85cc3f102d48b69e64338000bb977 /AssetLoader/src/GLTFLoader.cpp | |
| parent | Replaced Align with AlignUp (diff) | |
| download | DiligentTools-92ba772967a2841c7a1bc72ac23bb19bb1399e8f.tar.gz DiligentTools-92ba772967a2841c7a1bc72ac23bb19bb1399e8f.zip | |
GLTF Loader: fixed default alpha channel value of 3-component textures
Diffstat (limited to 'AssetLoader/src/GLTFLoader.cpp')
| -rw-r--r-- | AssetLoader/src/GLTFLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } } |
