1.0.9 • Published 12 months ago

astctool-laya v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

astctool-laya 配合laya引擎实现astc纹理压缩 大幅度降低显存 实现一键压缩

1. npm install astctool-laya -g;
2.在项目bin目录下执行 astclaya
3. 生成的配置文件如下
{
	"excludeFiles": [],                 排除的文件
	"imagesize": "128x128",             文件转换最小尺寸
	"excludeFolders": [],               排除的文件夹
	"inExt": [
		".png",
		".jpg"                          需要转换图片的扩展名
	],                  
	"outExt": ".ktx",                转换输出文件的扩展名 可以自定义 比如.ktx.js 这样cdn可以用gzip进一步压缩
	"arg": {
		"colorSpace": "cl",
		"blocksize": "10x10",           基本参数
		"quality": "medium"
	},
	"outfileList": {}                   输出的列表;
}
1.0.9

12 months ago

1.0.8

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago