A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
docs: the generated-LOD link carries the /docs prefix every page lives under
yhhf8f61085e0b3
diff --git a/docs/astro/src/content/docs/assets/models.mdx b/docs/astro/src/content/docs/assets/models.mdxindex e2c4be6f9..dbb707c24 100644--- a/docs/astro/src/content/docs/assets/models.mdx+++ b/docs/astro/src/content/docs/assets/models.mdx@@ -105,7 +105,7 @@ A mesh seen from far away does not need the triangles it has up close. Set**Generate LODs** in the model's import settings to 1, 2 or 3 levels and theimport collapses each mesh into cheaper copies — about 50%, 20% and 7% of itstriangles — written beside it as `<mesh>_lod1.esmesh`, `_lod2` and `_lod3`, and-adds a [`LODGroup`](/performance/level-of-detail/) to the entity that draws it. The+adds a [`LODGroup`](/docs/performance/level-of-detail/) to the entity that draws it. Thegroup swaps a level in as the object shrinks on screen (below 40%, 18% and 7% ofthe viewport height).diff --git a/docs/astro/src/content/docs/zh-cn/assets/models.mdx b/docs/astro/src/content/docs/zh-cn/assets/models.mdxindex 690dbff51..67dc2a8cc 100644--- a/docs/astro/src/content/docs/zh-cn/assets/models.mdx+++ b/docs/astro/src/content/docs/zh-cn/assets/models.mdx@@ -93,7 +93,7 @@ Transform 给,和导入的模型一样。远处的网格用不着近处那么多三角形。在模型的导入设置里把 **Generate LODs** 设为 1、2 或 3 级,导入就会把每个网格简化成更便宜的副本 —— 大约保留 50%、20% 和 7% 的三角形 ——写成它旁边的 `<mesh>_lod1.esmesh`、`_lod2`、`_lod3`,并给绘制它的实体加一个-[`LODGroup`](/zh-cn/performance/level-of-detail/)。物体在屏幕上缩小时,LODGroup 依次换上+[`LODGroup`](/docs/zh-cn/performance/level-of-detail/)。物体在屏幕上缩小时,LODGroup 依次换上各级(分别在低于视口高度的 40%、18%、7% 时)。简化把形状误差控制在网格自身尺寸的很小比例内,并且不会拆开 UV 接缝和硬边,所以贴图仍落在原处。