feat(wilderness): 完善地表边缘过渡瓦片(Auto-Tiling)与 DRLGROOMTILE_GetTileCache 权重混合 #70
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: troytt/diablo2-web#70
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
在原版暗黑 2 的地表渲染中,
DRLGROOMTILE_GetTileCache是地貌质感的核心:Levels.txt的dwDt1Mask,扫描所有激活的 DT1 地面库,依据瓦片自带的Rarity字段进行加权随机,产生活跃且斑驳的自然底土效果;当前 Web 引擎在 M15 中实现了基础的多 DT1 加权填充(
fillGround),但交界处的羽化过渡机制仍未完全还原,导致部分道路或水体边缘呈现锯齿状或生硬切面。改造内容
DRLGROOMTILE_GetTileCache的地表生成质感。验收标准
verify:generators瓦片缺失率保持 0.00%)tests/wilderness-ground-blend.test.ts)全部通过npm run typecheck零错误,npx vitest run全绿