3d-games
Instructs on 3D rendering, shader implementation, physics, and game logic optimization.
Install
mkdir -p .claude/skills/3d-games && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/654" && unzip -o skill.zip -d .claude/skills/3d-games && rm skill.zipInstalls to .claude/skills/3d-games
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
3D game development principles. Rendering, shaders, physics, cameras.Key capabilities
- →Transform geometry during vertex processing
- →Convert geometry to pixels through rasterization
- →Color pixels during fragment processing
- →Render 3D scenes to a screen
- →Implement custom shaders for visual effects
- →Detect collisions using various 3D shapes
How it works
The skill processes 3D geometry through a rendering pipeline, which includes vertex processing, rasterization, and fragment processing, to display images on a screen. It uses various shader types to define visual properties and physics principles for interactions.
Inputs & outputs
When to use 3d-games
- →Implementing custom shaders for visual effects
- →Setting up 3D collision detection for game objects
- →Optimizing the rendering pipeline with frustum culling
- →Designing smooth third-person camera systems
About this skill
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.
How it compares
This skill structures 3D game logic by defining specific collision shapes and camera behaviors, unlike manual rendering that requires explicit per-object calculations.
Compared to similar skills
3d-games side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| 3d-games (this skill) | 16 | 6mo | No flags | Advanced |
| code-coverage-with-gcov | 15 | 4mo | Review | Intermediate |
| validate-render | 0 | 9mo | Review | Intermediate |
| unity-mcp-orchestrator | 17 | 4mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by davila7
View all by davila7 →You might also like
code-coverage-with-gcov
gadievron
Add gcov code coverage instrumentation to C/C++ projects
validate-render
kzahedi
Validates YARS rendering by exporting first frame as PNG and comparing with reference screenshot
unity-mcp-orchestrator
CoplayDev
Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for effective Unity-MCP integration.
cpp-pro
sickn33
Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization. Use PROACTIVELY for C++ refactoring, memory safety, or complex C++ patterns.
debug-lldb
regenrek
Capture and analyze thread backtraces with LLDB/GDB to debug hangs, deadlocks, UI freezes, IPC stalls, or high-CPU loops across any language or project. Use when an app becomes unresponsive, switching contexts stalls, or you need thread stacks to locate lock inversion or blocking calls.
pc-games
davila7
PC and console game development principles. Engine selection, platform features, optimization strategies.