tea-x-random/unity-game-skills/unity-graphics

Claude Code and agent skill by tea-x-random/unity-game-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Take a basic-looking Unity casual-iOS scene to a premium, intentional look. Use for URP setup, mobile rendering, lighting (baked lighting, light probes, reflection probes), materials and shaders (URP/Lit, URP/Unlit, GPU instancing, SRP batcher), post-processing (Volume, bloom, color adjustments, vignette), draw calls, batches, overdraw, quality settings, tiered quality, visual polish, art direction, and render quality. Triggers when screenshots look flat/primitive or the user asks for premium, stylized, polished, AAA-on-mobile, or less-basic 3D visuals on iOS.

Install

npx vskill@latest install tea-x-random/unity-game-skills/unity-graphics

SKILL.md

The same SKILL.md was published earlier as tea-x-random/unity-game-skills/unity-graphics.

Unity Graphics (Casual iOS)

Own the render/visual pass for casual iOS games in Unity. Convert flat, primitive-looking screenshots into an intentional, stylized, performance-safe look that still hits 60fps on phones.

The AAA visual bar (don't ship flat)

A premium look requires three things, and missing any one reads as amateur ("MS Paint"):

  1. Real textured surfaces, not flat fills. Solid-color ground/background and procedural blobs are placeholders, not a look.
  2. Cohesive generated art across all primary surfaces — ground, backdrop, hero props, and UI share one art direction.
  3. A properly LIT and composed scene. A scene of raw sprites/meshes on a solid color stays flat until it is lit + composed.

Division of labor: art direction, per-surface asset sourcing, and the visual scorecard are owned by `unity-aaa-graphics` (the sibling skill that decides what art to generate and gates the result). This skill provides the render-pipeline mechanics — URP, lighting, materials, post — that you MUST actually apply on top of that art. Generating real art is necessary but not sufficient: raw assets dropped on a solid color still look flat until this skill's lighting + composition pass runs.

Amateur anti-patterns to refuse:

  • Flat solid-color ground or background (use a textured surface + designed backdrop/gradient).
  • Procedural SDF blobs standing in for primary surfaces or hero props (procedural is a fallback skin and for UI shapes — see below — not a substitute for real art).
  • No lighting and no shadows — an unlit scene reads flat regardless of asset quality.
  • A hard-oval vignette used as the only "lighting." Vignette is mood trim, not light.

Core Doctrine (same spine as the rest of the unity-* set)

  1. Bias to a verified, screenshot-proven result, not docs. A change is "done" when a manage_scene screenshot looks intentional and manage_graphics render stats stay in budget — not when a setting matches a tutorial.
  2. Keep gates lean. Decide art direction and the URP/quality tier once, then proceed with sensible mobile defaults. Don't prompt at every slider.
  3. Edit through MCP, never raw YAML. .mat, .shader, URP assets, lighting data, and Volume profiles are GUID/fileID YAML — hand-editing corrupts references. Go through manage_graphics, manage_material, manage_texture, manage_shader, manage_scene, and execute_code.
  4. Unity 6 render APIs differ from memory. The model's built-in knowledge is ~Unity 2022.3. On Unity 6 (6000.x), RenderGraph, URP Volume components, and Renderer Features changed. Before writing any shader or render C#, verify against the live Editor with unity_reflect / unity_docs (enable the docs group). Trust order: reflection > project assets > docs > memory.
  5. Verify with two signals every pass: a manage_scene(action="screenshot") AND manage_graphics(action="stats_get") render stats (draw calls / batches / SetPass / tris). One without the other is not verification.

Step 0 — Confirm the pipeline before touching visuals

Read mcpforunity://project/info and check renderPipeline.

  • Casual iOS uses URP. Not HDRP (too heavy for phones), not Built-in (no SRP Batcher, dated). If it reports HDRP or Built-in, flag it and plan a switch to URP.
  • If renderPipeline is empty/Built-in and you want URP: install com.unity.render-pipelines.universal (via manage_packages), create a URP asset + Universal Renderer, and assign it in Graphics + Quality settings. Do this through execute_code driving UniversalRenderPipelineAsset + GraphicsSettings.defaultRenderPipeline, then refresh_unity. See references/urp-mobile-recipes.md.
  • The manage_graphics, manage_material, manage_texture, manage_shader tools live in the vfx / core groups. If a call says the tool is unavailable, run manage_tools(action="enable_group", group="vfx") first. Volume / post-FX actions require URP (or HDRP) to be the active pipeline.

Explicit input — art-spec.yaml drives palette, lighting, and post

When the project has an art-spec.yaml (canonical path + legacy roots in docs/PIPELINE_CONVENTIONS.md), this skill CONSUMES it — never improvise a scene-local look:

  • Palette: materials, backdrop/skybox, and fog colors come from the spec's palette (semantic palette.roles first). GameTheme.cs color hexes MUST equal art-spec palette hexes exactly — colors only (typography/spacing/radii are GameTheme-native, no art-spec source).
  • Lighting: implement the spec's lighting block (key/fill/rim/shadow/fog qualities). The key light's direction MUST match craft.light_direction, which equals composition.yaml shadow_and_contact.key_light_direction — ONE light direction shared by baked-in art, contact shadows, and the realtime sun. Do not invent a second source of truth for light direction.
  • Post & shaders: the global Volume implements rendering.post; materials follow rendering.shader_family.

No art-spec (exploratory/prototype)? Proceed with this skill's defaults, flag the look as unlocked, and route to unity-art-direction before production art.

Mobile-first lighting

Lighting is REQUIRED for a premium scene, not optional polish: raw sprites/meshes on a solid color stay flat until they are lit and grounded with shadows. Never leave the scene unlit. That said, realtime per-pixel lighting is the most common framerate killer on phones — default to baked.

  • Bake static lighting. Mark static geometry, set lights to Baked (or Mixed only when you truly need a realtime caster), and bake lightmaps via manage_graphics(action="bake_lighting"). Baked GI gives soft, premium shading for free at runtime.
  • At most one realtime light, ideally a single directional sun. Every extra realtime light multiplies draw cost; point/spot realtime lights on mobile are a last resort.
  • Light Probes for moving/dynamic objects so they pick up the baked ambience instead of looking flat and detached. Place a probe group across the playable area.
  • Reflection Probes sparingly — one baked probe for a shiny hero object is fine; blanketing the scene is not. Prefer baked, low-resolution.
  • Shadows: keep one shadow-casting light, low cascade count (1), tight shadow distance, and hard or low-res soft shadows. Most casual scenes look great with baked AO and a single blob/contact shadow instead of full realtime shadows.

Materials

  • URP/Lit for surfaces that need real shading; URP/Unlit for stylized flat-color/gradient art. Unlit is the cheapest path and looks intentional for hyper-casual — lean on it.
  • Enable GPU Instancing on every shared material (enableInstancing) so repeated props batch.
  • Keep materials SRP Batcher compatible (URP shaders are by default; custom shaders must use a CBUFFER UnityPerMaterial block). SRP Batcher + GPU instancing are how you keep draw calls low.
  • Keep material and texture variants low — fewer unique materials = fewer SetPass calls. Share one atlas/material across many objects.
  • Author with manage_material (create, set shader, set _BaseColor/_BaseMap/_Smoothness/_Metallic, toggle instancing). Compress textures with manage_texture (ASTC for iOS).

Post-processing on mobile (conservative)

A premium frame is lit AND tone-mapped: apply a mobile-safe post pass — don't leave the scene raw. Post is a force-multiplier for "premium" but only if you stay cheap. (Vignette is mood trim layered on top of real lighting, never the lighting itself.)

  • Use one global `Volume` with a profile. Enable post on the renderer asset and tick Post Processing on the Camera.
  • Safe, cheap-ish: Bloom (low threshold, modest intensity), Color Adjustments / White Balance / Tonemapping (ACES or Neutral), Vignette, slight Lift/Gamma/Gain. These define the mood.
  • Avoid on low-end phones: SSAO, Depth of Field, Motion Blur, Chromatic Aberration at strength, full-res Bloom. They cost fill rate the GPU doesn't have.
  • Tonemapping on a clean color palette does most of the work. Add bloom last, sparingly, on emissive accents only.

Performance-safe visual detail (look premium cheaply)

Detail you can afford on a phone:

  • Stylized flat-color / gradient palette instead of PBR realism — reads as "designed," batches well, no heavy textures.
  • Bake AO into textures / vertex colors so shading looks grounded with zero realtime cost.
  • Vertex colors for cheap per-object tinting and gradients without extra materials.
  • Fog (linear/exponential) for depth and to hide draw distance — a strong, near-free mood tool.
  • Billboards / impostors for distant detail (trees, clouds, crowds) instead of real geometry.
  • Particle pops / juice (collect, land, win bursts) for perceived quality — small, short-lived, additive.
  • A skybox or gradient backdrop + a clear focal palette beats any amount of glow on primitives.

Build forms and palette first; add bloom/particles last. Glow on primitives is not premium.

Procedural sprites as a FALLBACK skin (2D, no art needed). Real generated art (see unity-aaa-graphics) is the default and the upgrade; this procedural path is the PLACEHOLDER for when an asset-generator key is MISSING or quota-blocked. It is also legitimately useful for UI shapes (rounded cards, buttons, dividers) even alongside real art. A rounded-rect sprite from a signed-distance field into a Texture2D (soft anti-aliased alpha edge), created once and reused via a 9-slice Image (Sprite.Create(..., border) + Image.type = Sliced), gives crisp rounded corners at any size. Tint comes from Image.color, so highlights still work. Pair with the warm palette above and the board/buttons read as designed cards, not flat rectangles. Swap in generated art through the same Image.sprite slot as soon as a generator key is available.

When art is genuinely blocked (no image-gen key / quota), the same SDF approach yields a coherent placeholder skin with zero external assets: rounded-rect 9-slice tiles/buttons and recognizable icon tokens — e.g. a simple character/mascot face composited from circle/ellipse SDFs with proper alpha-over blending. Cache each generated `Sprite` in a static field (generate once) so you pay the rasterization cost a single time, and tint per-use via Image.color. This keeps a colorful, cohesive board on screen with no external assets — but treat it as a stopgap, NOT a premium look. Flat fills and procedural blobs are not a substitute for real textured, lit art; restore the generated-art path (unity-aaa-graphics) the moment the generator is unblocked.

Procedural icon library for action bars / HUD (fallback when art is blocked). Beyond shapes, you can draw a clean vector-style icon set at runtime — lightbulb, undo arrow, trash, home, heart — at ~256px from SDF primitives (circle, rounded box, thick segment/capsule, plus union/subtract), rendered white-on-transparent so each tints via Image.color and is anti-aliased by edge coverage. Cache each once in a static field. This reads like a real game-icon set with no external assets and is a solid stand-in for HUD/icon glyphs when a generator key is missing — prefer generated icon art (unity-aaa-graphics) when available. Present them as themed icon buttons — palette-tinted rounded tile + dark icon + label — which read far better than plain white buttons for near-zero cost.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tea-x-random/unity-game-skills/unity-graphics/badge)](https://verified-skill.com/skills/tea-x-random/unity-game-skills/unity-graphics)

Something wrong with this skill or its page? Tell us.