# graphics-rendering

graphics-rendering hands the agent ready HLSL shaders, a particle system layout and rendering optimisation moves. Useful when a scene stutters or an effect falls flat.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 109 installs · ★ 56 repo stars
- Author: pluginagentmarketplace
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pluginagentmarketplace/custom-plugin-game-developer/tree/HEAD/skills/graphics-rendering/SKILL.md
- Updated: 2026-01-05
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/graphics-rendering

## What it does

The skill walks the rendering pipeline stage by stage, from vertex transform to the final pixel written to the framebuffer, and ships HLSL snippets you can adapt. That covers PBR lighting with a GGX distribution and Schlick Fresnel, plus a cel shader with a stepped ramp and inverted-hull outlines.

Effects get their own section: emitter, spawn, update under forces and collisions, then billboard or trail rendering. Recipes follow for fire, smoke, sparks, magic and blood. A separate table lists batching, GPU instancing, LOD and occlusion culling with an estimate of how many draw calls each one removes.

Two optional parameters set the context: `technique` (pbr, toon, cel, realistic, stylized) and `platform` (pc, mobile, console, vr). The platform picks the budget table, and the spread is wide: mobile tops out at 100-200 draw calls and 1024px textures, PC goes to 8192px. Past 2000 draw calls the first move is instancing and texture atlases.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill graphics-rendering -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/graphics-rendering/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/graphics-rendering/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill graphics-rendering -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/graphics-rendering/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill graphics-rendering -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/graphics-rendering/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install pluginagentmarketplace/custom-plugin-game-developer skills/graphics-rendering
```

2. **Manually: put the files in place**
- File: `.github/skills/graphics-rendering/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill graphics-rendering -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-game-developer --path skills/graphics-rendering
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/graphics-rendering/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill graphics-rendering -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/pluginagentmarketplace/custom-plugin-game-developer/tree/HEAD/skills/graphics-rendering/SKILL.md

## When to use it
- write a PBR shader in HLSL for metal and dielectric surfaces
- build a cel shader with inverted-hull outlines
- set up a particle emitter for fire or sparks
- cut draw calls in a heavy scene
- lay out LOD levels by distance

## Example prompts
- Write an HLSL PBR shader for a rusty metal surface and check the normals for artifacts.
- Build a cel shader with outlines, target platform is mobile.
- Our scene is over budget on draw calls, what should I turn on first?

## Similar
- [slug-font-rendering](https://affpapa.org/en/nevibecode/skills/slug-font-rendering.md) — skill · 1300 installs
- [unity-shaders-rendering](https://affpapa.org/en/nevibecode/skills/unity-shaders-rendering.md) — skill · 133 installs
- [ue-materials-rendering](https://affpapa.org/en/nevibecode/skills/ue-materials-rendering.md) — skill · 1600 installs
- [pixijs-rendering](https://affpapa.org/en/nevibecode/skills/pixijs-rendering.md) — skill · 10800 installs
- [threejs-aaa-graphics-builder](https://affpapa.org/en/nevibecode/skills/threejs-aaa-graphics-builder.md) — skill · 4300 installs
- [scenario-godot-rendering-lighting](https://affpapa.org/en/nevibecode/skills/scenario-godot-rendering-lighting.md) — skill · 449 installs

From the same set: [pluginagentmarketplace/custom-plugin-game-developer](https://affpapa.org/en/nevibecode/by/pluginagentmarketplace/custom-plugin-game-developer.md) — 12 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
