3D Game Development

VerifiedSafe

3D game development principles covering rendering, shaders, physics, cameras, and lighting. Practical guide for creating performant 3D visuals.

Sby Skills Guide Bot
DevelopmentIntermediate
108/31/2026
Claude CodeCursorWindsurfCopilotCodex
#3d-games#rendering#shaders#physics#cameras

Recommended for

Our review

This skill provides foundational 3D game development principles: rendering pipeline, shaders, physics, cameras, lighting, and LOD.

Strengths

  • Covers key stages of the 3D rendering pipeline
  • Offers concrete optimization techniques (culling, LOD, batching)
  • Explains collision and camera types with use cases
  • Includes an anti-patterns section to avoid common mistakes

Limitations

  • Conceptual, with no specific code examples
  • Does not address particular game engines (Unity, Unreal)
  • Physics only covers collision shapes, not advanced dynamics
When to use it

Use this skill when designing or optimizing 3D systems in a game project, whether for rendering, physics, or cameras.

When not to use it

Do not use it for 2D game coding or when you need engine-specific implementations.

Security analysis

Safe
Quality score78/100

The skill contains only informational content about 3D game development principles. It declares only safe tools (Read, Write, Edit, Glob, Grep) and does not instruct any destructive, exfiltrating, or obfuscated actions. There is no use of bash, network, or unsafe patterns.

No concerns found

Examples

Optimize rendering pipeline
I'm building a 3D game with lots of objects. How can I use frustum culling, occlusion culling, LOD, and batching to improve rendering performance?
Design a custom shader
Help me write a custom shader for a stylized water effect in my 3D game. What shader type should I use and how do I set it up?
Implement camera system
I need a third-person camera that smoothly follows the player, avoids obstacles, and shows a bit of look-ahead. How should I set it up with lerp and collision avoidance?

name: 3d-games description: "3D game development principles. Rendering, shaders, physics, cameras." allowed-tools: Read, Write, Edit, Glob, Grep risk: unknown source: community

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.

Related skills