从上图可以看出,压缩为ASTC 6x6无明显失真,压缩为ASTC 8x8后肉眼可见失真。 结论:无Alpha通道的贴图建议压缩格式为ASTC 8x8。如果贴图为法线贴图,建议压缩格式为ASTC 5x5。有更高要求的贴图(比如面部、场景地面),可以设置压缩格式为ASTC 6x6,法线贴图为ASTC 4x4。 结论与NV文档数据对比: 浅绿色表示基准推荐,深绿色...
8x8的Block即表示块对应原始贴图里width和height为8x8 texels的区域。ASTC同时支持对称块大小(width和height相同)和非对称块大小。当然,对称块因其简单性在实际中应用更广泛些。Unity只使用了对称块大小,其使用的块大小定义如下: ASTC_RGB_4x4,ASTC_RGB_5x5,ASTC_RGB_6x6,ASTC_RGB_8x8,ASTC_RGB_10x10,ASTC_RGB_...
从上图可以看出,一张512x512尺寸的贴图(不带Alpha通道,开启Mipmap)的容量为1MB,压缩为ETC2 4 bits后容量为170.7KB,有明显失真,压缩为ASTC 6x6后容量为154.7KB,无明显失真,ASTC 6x6的容量小于ETC2 4 bits,压缩质量高于ETC2 4 bits。 从上图可以看出,压缩为ASTC 8x8后容量为85.4KB,容量约为ETC2 4 bits的50...
压缩为ETC2 4 bits后容量为170.7KB,有明显失真, 压缩为ASTC 6x6后容量为154.7KB,无明显失真, ASTC 6x6的容量小于ETC2 4 bits,压缩质量高于ETC2 4 bits。 压缩为ASTC 8x8后容量与ASTC 6x6相比减小了约44.8%, 压缩为ASTC10x10后容量与ASTC 8x8相比减小了约33.7%。
ASTC 6x6 vs ASTC 8x8 vs ASTC 10x10 从上图可以看出,一张512x512尺寸的贴图(不带Alpha通道),压缩为ASTC 6x6、ASTC 8x8、ASTC10x10后均无明显失真,压缩为ASTC 8x8后容量与ASTC 6x6相比减小了约44.8%,压缩为ASTC10x10后容量与ASTC 8x8相比减小了约33.7%。
ASTC 6x6 vs ASTC 8x8 vs ASTC 10x10 从上图可以看出,一张512x512尺寸的贴图(不带Alpha通道),压缩为ASTC 6x6、ASTC 8x8、ASTC10x10后均无明显失真,压缩为ASTC 8x8后容量与ASTC 6x6相比减小了约44.8%,压缩为ASTC10x10后容量与ASTC 8x8相比减小了约33.7%。
从上图可以看出,一张512x512尺寸的贴图(不带Alpha通道),压缩为ASTC 6x6、ASTC 8x8、ASTC 10x10后均无明显失真,压缩为ASTC 8x8后容量与ASTC 6x6相比减小了约44.8%,压缩为ASTC 10x10后容量与ASTC 8x8相比减小了约33.7%。 以法线贴图举例: 从上图可以看出,一张512x512尺寸的法线贴图,压缩为ASTC 4x4无明显失真,...
从上图可以看出,一张512x512尺寸的贴图(不带Alpha通道),压缩为ASTC 6x6、ASTC 8x8、ASTC10x10后均无明显失真,压缩为ASTC 8x8后容量与ASTC 6x6相比减小了约44.8%,压缩为ASTC10x10后容量与ASTC 8x8相比减小了约33.7%。 以法线贴图举例: RGB8 vs ASTC 4x4 vs ASTC 5x5 vs ASTC 6x6 ...
MTLPixelFormatASTC_6x6_LDR ASTC-compressed format with low-dynamic-range content, a block width of 6, and a block height of 6. MTLPixelFormatASTC_8x5_LDR ASTC-compressed format with low-dynamic-range content, a block width of 8, and a block height of 5. ...
6x6 3.56 8x5 3.20 8x6 2.67 10x5 2.56 10x6 2.13 8x8 2.00 10x8 1.60 10x10 1.28 12x10 1.07 12x12 0.89 Thus, ASTC offers a huge advantage of tuning quality vs size. The alternative formats generally offer 4bpp for RGB or single channel data, some can fit alpha in that ...