DDSLoader now supports Luminance16f format (r16f)
This commit is contained in:
parent
080a89e14b
commit
26ccaaea88
@ -302,6 +302,12 @@ public class DDSLoader implements AssetLoader {
|
|||||||
bpp = 64;
|
bpp = 64;
|
||||||
pixelFormat = Image.Format.RGBA16F;
|
pixelFormat = Image.Format.RGBA16F;
|
||||||
break;
|
break;
|
||||||
|
case 111:
|
||||||
|
compressed = false;
|
||||||
|
bpp = 16;
|
||||||
|
pixelFormat = Format.Luminance16F;
|
||||||
|
grayscaleOrAlpha = true;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new IOException("Unknown fourcc: " + string(fourcc) + ", " + Integer.toHexString(fourcc));
|
throw new IOException("Unknown fourcc: " + string(fourcc) + ", " + Integer.toHexString(fourcc));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user