Chuyển đến nội dung
Skillpedia
Lập trình chung48k · #4683

3d-games

Skill này làm gì

AI agent này giúp hiểu những nguyên tắc cơ bản để tạo game 3D. Nó giải thích cách hình ảnh được vẽ lên màn hình, cách tạo hiệu ứng hình ảnh bằng 'shader', cách mô phỏng vật lý và va chạm, và cách camera và ánh sáng hoạt động.

Khi nào nên dùng

  • ✓Khi tìm hiểu về phát triển game 3D.
  • ✓Khi muốn hiểu cách đồ họa game được tạo ra.
  • ✓Khi tối ưu hiệu năng của một game 3D.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/game-development/3d-games/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/game-development/3d-games/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Quá trình render đồ họa 3D trong game hoạt động như thế nào?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Nó mô tả chi tiết các bước trong quá trình render, từ biến đổi đối tượng đến hiển thị lên màn hình. Nó cũng giải thích các kỹ thuật giúp game chạy nhanh hơn và thú vị hơn về mặt hình ảnh.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

3D Game Development

Principles for 3D game systems.


1. Rendering Pipeline

Stages

1. Vertex Processing → Transform geometry
2. Rasterization → Convert to pixels
3. Fragment Processing → Color pixels
4. Output → To screen

Optimization Principles

Technique Purpose
Frustum culling Don't render off-screen
Occlusion culling Don't render hidden
LOD Less detail at distance
Batching Combine draw calls

2. Shader Principles

Shader Types

Type Purpose
Vertex Position, normals
Fragment/Pixel Color, lighting
Compute General computation

When to Write Custom Shaders

  • Special effects (water, fire, portals)
  • Stylized rendering (toon, sketch)
  • Performance optimization
  • Unique visual identity

3. 3D Physics

Collision Shapes

Shape Use Case
Box Buildings, crates
Sphere Balls, quick checks
Capsule Characters
Mesh Terrain (expensive)

Principles

  • Simple colliders, complex visuals
  • Layer-based filtering
  • Raycasting for line-of-sight

4. Camera Systems

Camera Types

Type Use
Third-person Action, adventure
First-person Immersive, FPS
Isometric Strategy, RPG
Orbital Inspection, editors

Camera Feel

  • Frame-rate-independent smoothing; test camera collision and teleports
  • Collision avoidance
  • Look-ahead for movement
  • FOV changes for speed

5. Lighting

Light Types

Type Use
Directional Sun, moon
Point Lamps, torches
Spot Flashlight, stage
Ambient Base illumination

Performance Consideration

  • Real-time shadows are expensive
  • Bake when possible
  • Shadow cascades for large worlds

6. Level of Detail (LOD)

LOD Strategy

Distance Model
Near Full detail
Medium Reduced detail based on measured visual error
Far Low-detail mesh or billboard when visually appropriate

7. Anti-Patterns

❌ Don't ✅ Do
Mesh colliders everywhere Simple shapes
Real-time shadows on mobile Baked or blob shadows
One LOD for all distances Distance-based LOD
Unoptimized shaders Profile and simplify

Remember: 3D is about illusion. Create the impression of detail, not the detail itself.

When to Use

Use when implementing or profiling a 3D rendering pipeline, shaders, colliders, cameras, lighting or level-of-detail transitions.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Verification

Treat tables as design starting points, not guarantees. Prototype the selected mechanic, test accessibility and recovery paths, and measure frame timing, memory and behavior on target hardware before claiming completion. Store submission and licensing requirements must be checked against current official platform documentation.

Câu hỏi thường gặp

'Rendering pipeline' là gì?

Đây là đường đi của dữ liệu game 3D để trở thành hình ảnh bạn thấy trên màn hình, qua các giai đoạn như xử lý đỉnh và tô màu điểm ảnh.

'Shader' là gì?

Đây là các chương trình nhỏ điều khiển cách vật thể 3D được vẽ, xác định màu sắc, kết cấu và hiệu ứng ánh sáng, cho phép tạo ra hình ảnh độc đáo như nước, lửa hoặc phong cách hoạt hình.

Vì sao dùng hình khối đơn giản cho va chạm thay vì mô hình phức tạp?

Dùng hình khối đơn giản (như hộp hoặc cầu) để phát hiện va chạm nhanh hơn và hiệu quả hơn nhiều cho máy tính, giúp game chạy tốt hơn, dù các vật thể trông phức tạp về hình ảnh.

Chi tiết

Mô tả gốc của tác giả

3D game development principles. Rendering, shaders, physics, cameras.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4683
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự