Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/misonl/ling/3d-gamesnpx skills add MisonL/Ling --skill 3d-gamesgit clone --depth 1 https://github.com/MisonL/LingWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/misonl/ling/3d-games)<a href="https://agentmods.dev/skills/misonl/ling/3d-games"><img src="https://agentmods.dev/badge/skills/misonl/ling/3d-games.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00032 | $0.00970 |
| Opus 5 | $0.00016 | $0.00485 |
| Sonnet 5 | $0.00006 | $0.00194 |
| Haiku 4.5 | $0.00003 | $0.00097 |
Grade A, and why
3d-games scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
3D 游戏开发
3D 游戏系统的原则。
1. 渲染管线(Rendering Pipeline)
阶段
1. Vertex Processing -> Transform geometry
2. Rasterization -> Convert to pixels
3. Fragment Processing -> Color pixels
4. Output -> To screen
优化原则
| 技术 | 用途 |
|---|---|
| 视锥裁剪(Frustum culling) | 不渲染屏幕外区域 |
| 遮挡裁剪(Occlusion culling) | 不渲染被遮挡部分 |
| LOD(Level of Detail) | 距离远时降低细节 |
| 批处理(Batching) | 合并绘制调用 |
2. 着色器原则(Shader Principles)
着色器类型
| 类型 | 用途 |
|---|---|
| 顶点(Vertex) | 位置、法线 |
| 片元/像素(Fragment/Pixel) | 颜色、光照 |
| 计算(Compute) | 通用计算 |
何时编写自定义着色器
- 特效(水、火、传送门)
- 风格化渲染(Toon、Sketch)
- 性能优化
- 独特视觉风格
3. 3D 物理(3D Physics)
碰撞体形状
| 形状 | 使用场景 |
|---|---|
| 盒体(Box) | 建筑、箱体 |
| 球体(Sphere) | 球、快速检测 |
| 胶囊体(Capsule) | 角色 |
| 网格(Mesh) | 地形(成本高) |
原则
- 碰撞体用简单形状,视觉用复杂模型
- 分层过滤(Layer-based filtering)
- 视线检测用射线(Raycasting)
4. 相机系统(Camera Systems)
相机类型
| 类型 | 用途 |
|---|---|
| 第三人称(Third-person) | 动作、冒险 |
| 第一人称(First-person) | 沉浸、FPS |
| 等距(Isometric) | 策略、RPG |
| 轨道(Orbital) | 检视、编辑器 |
相机手感
- 平滑跟随(lerp)
- 碰撞回避(Collision avoidance)
- 运动前瞻(Look-ahead)
- 用 FOV 变化体现速度
5. 光照(Lighting)
光源类型
| 类型 | 用途 |
|---|---|
| 方向光(Directional) | 太阳、月亮 |
| 点光(Point) | 灯、火把 |
| 聚光(Spot) | 手电、舞台 |
| 环境光(Ambient) | 基础照明 |
性能考量
- 实时阴影开销大
- 尽量烘焙(Bake)
- 大场景用级联阴影(Shadow cascades)
6. 细节层级(LOD)
LOD 策略
| 距离 | 模型 |
|---|---|
| 近 | 全细节 |
| 中 | 50% 三角形 |
| 远 | 25% 或看板(billboard) |
7. 反模式(Anti-Patterns)
| [FAIL] 不要 | [OK] 要做 |
|---|---|
| 到处使用网格碰撞体(Mesh colliders) | 使用简单形状 |
| 移动端全开实时阴影 | 选择烘焙或投影(Blob)阴影 |
| 所有距离只用一个 LOD | 按距离分级 LOD |
| 未优化的着色器 | 性能分析(Profiling)后简化 |
提示: 3D 追求的是错觉,营造细节的印象,而非细节本身。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 136 lines · 32 tokens per session scan A 04e61f5a2e98
3d-games is a skill published in the GitHub repository MisonL/Ling (8 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 970 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…