mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-11-01 15:58:47 -05:00
DDS: simply use 0 for blue channel for readATI2()
Originally we uses getNormalZ() for the image, which treat the image as a normal map. Visual Studio simply fill the blue channel with 0 instead. Since DDS is for DirectX which is a MS stuff, align to Visual Studio might be a good idea. Also, red and green channel should be swapped.
This commit is contained in:
committed by
Mirco Miranda
parent
67ee4cb720
commit
e07c5386ff
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 3.7 KiB |
Reference in New Issue
Block a user