refactor: 贴图存储方式

This commit is contained in:
AncTe committed 2026-09-22 21:11:21 +08:00
1 parent 3bcba48f48
commit d36ea69066
12 files changed
+627 -585

No files matched your search

@@ -1261,7 +1261,7 @@ export class MapRenderer
} else {
// 多帧图块
if (tex.cls === BlockCls.Autotile) {
const gen = this.autotile.renderAnimatedWith(tex, 0b1111_1111);
const gen = this.autotile.renderAnimated(tex, 0b1111_1111);
return this.useDynamicBackground(gl, data, [...gen]);
} else {
const gen = this.tileAnimater.once(tex.texture, tex.frames);