3D game development principles. Rendering, shaders, physics, cameras.
Principles for 3D game systems.
1. Vertex Processing → Transform geometry
2. Rasterization → Convert to pixels
3. Fragment Processing → Color pixels
4. Output → To screen
| Technique | Purpose | |-----------|---------| | Frustum culling | Don't render off-screen | | Occlusion culling | Don't render hidden | | LOD | Less detail at distance | | Batching | Combine draw calls |
| Type | Purpose | |------|---------| | Vertex | Position, normals | | Fragment/Pixel | Color, lighting | | Compute | General computation |
| Shape | Use Case | |-------|----------| | Box | Buildings, crates | | Sphere | Balls, quick checks | | Capsule | Characters | | Mesh | Terrain (expensive) |
| Type | Use | |------|-----| | Third-person | Action, adventure | | First-person | Immersive, FPS | | Isometric | Strategy, RPG | | Orbital | Inspection, editors |
| Type | Use | |------|-----| | Directional | Sun, moon | | Point | Lamps, torches | | Spot | Flashlight, stage | | Ambient | Base illumination |
| Distance | Model | |----------|-------| | Near | Full detail | | Medium | 50% triangles | | Far | 25% or billboard |
| ❌ 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.
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/3d-games · pinned to the source commit
# Run from your project root
git clone https://github.com/davila7/claude-code-templates.git .skillboard-tmp
git -C .skillboard-tmp checkout 5cc17cf267132cc690dee82239b80a99ec82e4f8
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/cli-tool/components/skills/creative-design/game-development/3d-games" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/davila7/claude-code-templates.git .skillboard-tmp
git -C .skillboard-tmp checkout 5cc17cf267132cc690dee82239b80a99ec82e4f8
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/cli-tool/components/skills/creative-design/game-development/3d-games" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/3d-games
Scanner static-checks@0.1.0 · commit 5cc17cf26713. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.