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
- Smooth following (lerp)
- 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 |
50% triangles |
| Far |
25% or billboard |
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
This skill is applicable to execute the workflow or actions described in the overview.
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.
Source: sickn33/agentic-awesome-skills → skills/game-development/3d-games/SKILL.md
Also appears in: sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/game-development/3d-games/SKILL.md, sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/game-development/3d-games/SKILL.md, sickn33/agentic-awesome-skills/plugins/agentic-bundle-indie-game-dev/skills/game-development/3d-games/SKILL.md
1---
2name: 3d-games
3description: "3D game development principles. Rendering, shaders, physics, cameras."
4category: media-and-creative
5source_repo: sickn33/agentic-awesome-skills
6source_path: "skills/game-development/3d-games/SKILL.md"
7source_url: https://github.com/sickn33/agentic-awesome-skills/blob/HEAD/skills/game-development/3d-games/SKILL.md
8metadata:
9 source: https://skillmd.com/skills/thedixitjain/3d-games
10---
11
12
13# 3D Game Development
14
15> Principles for 3D game systems.
16
17---
18
19## 1. Rendering Pipeline
20
21### Stages
22
23```
241. Vertex Processing → Transform geometry
252. Rasterization → Convert to pixels
263. Fragment Processing → Color pixels
274. Output → To screen
28```
29
30### Optimization Principles
31
32| Technique | Purpose |
33|-----------|---------|
34| **Frustum culling** | Don't render off-screen |
35| **Occlusion culling** | Don't render hidden |
36| **LOD** | Less detail at distance |
37| **Batching** | Combine draw calls |
38
39---
40
41## 2. Shader Principles
42
43### Shader Types
44
45| Type | Purpose |
46|------|---------|
47| **Vertex** | Position, normals |
48| **Fragment/Pixel** | Color, lighting |
49| **Compute** | General computation |
50
51### When to Write Custom Shaders
52
53- Special effects (water, fire, portals)
54- Stylized rendering (toon, sketch)
55- Performance optimization
56- Unique visual identity
57
58---
59
60## 3. 3D Physics
61
62### Collision Shapes
63
64| Shape | Use Case |
65|-------|----------|
66| **Box** | Buildings, crates |
67| **Sphere** | Balls, quick checks |
68| **Capsule** | Characters |
69| **Mesh** | Terrain (expensive) |
70
71### Principles
72
73- Simple colliders, complex visuals
74- Layer-based filtering
75- Raycasting for line-of-sight
76
77---
78
79## 4. Camera Systems
80
81### Camera Types
82
83| Type | Use |
84|------|-----|
85| **Third-person** | Action, adventure |
86| **First-person** | Immersive, FPS |
87| **Isometric** | Strategy, RPG |
88| **Orbital** | Inspection, editors |
89
90### Camera Feel
91
92- Smooth following (lerp)
93- Collision avoidance
94- Look-ahead for movement
95- FOV changes for speed
96
97---
98
99## 5. Lighting
100
101### Light Types
102
103| Type | Use |
104|------|-----|
105| **Directional** | Sun, moon |
106| **Point** | Lamps, torches |
107| **Spot** | Flashlight, stage |
108| **Ambient** | Base illumination |
109
110### Performance Consideration
111
112- Real-time shadows are expensive
113- Bake when possible
114- Shadow cascades for large worlds
115
116---
117
118## 6. Level of Detail (LOD)
119
120### LOD Strategy
121
122| Distance | Model |
123|----------|-------|
124| Near | Full detail |
125| Medium | 50% triangles |
126| Far | 25% or billboard |
127
128---
129
130## 7. Anti-Patterns
131
132| ❌ Don't | ✅ Do |
133|----------|-------|
134| Mesh colliders everywhere | Simple shapes |
135| Real-time shadows on mobile | Baked or blob shadows |
136| One LOD for all distances | Distance-based LOD |
137| Unoptimized shaders | Profile and simplify |
138
139---
140
141> **Remember:** 3D is about illusion. Create the impression of detail, not the detail itself.
142
143## When to Use
144This skill is applicable to execute the workflow or actions described in the overview.
145
146## Limitations
147- Use this skill only when the task clearly matches the scope described above.
148- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
149- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
150
151---
152
153**Source:** [`sickn33/agentic-awesome-skills`](https://github.com/sickn33/agentic-awesome-skills) → `skills/game-development/3d-games/SKILL.md`
154
155**Also appears in:** `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/game-development/3d-games/SKILL.md`, `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/game-development/3d-games/SKILL.md`, `sickn33/agentic-awesome-skills/plugins/agentic-bundle-indie-game-dev/skills/game-development/3d-games/SKILL.md`