vibegameengine/web-starter-kit/blender-materials
Claude Code and agent skill by vibegameengine/web-starter-kit
- community
Checking that the SKILL.md file is still in the repository.
Create and assign PBR materials in Blender via Principled BSDF — metals, glass, plastic, fabric, skin, organics. Covers physically-based material recipes with real-world values, Coat layer (varnish/car paint), Sheen (cloth), Subsurface scattering (skin/wax), Transmission (glass), and procedural patterns (wood grain, marble, fabric weave). Use whenever the user asks to "make it look like X material", "give it a metallic finish", "apply a wood texture", "make this glass / plastic / brushed steel / leather / skin", or any look-development request. Make sure to use this skill even if the user does not say "material" — also covers "make it shiny", "matte finish", "looks like copper", "rough surface". Works with any geometry; pairs with blender-lighting (materials only look right under proper lighting).
Install
npx vskill@latest install vibegameengine/web-starter-kit/blender-materialsSKILL.md
The same SKILL.md was published earlier as vibegameengine/web-starter-kit/blender-materials.
Blender Materials
Apply physically-based materials to objects. Use only Principled BSDF — it's the only shader that exports cleanly to glTF and matches what other DCC tools expect.
The metallic switch — never an in-between
The single most-important rule: Metallic is a switch, not a slider. Set it to 0.0 (dielectric: plastic, wood, glass, skin) or 1.0 (metal: steel, gold, copper). Values between 0.2 and 0.8 are almost always wrong; they produce energy-non-conservative renders that look "plasticky."
Exception: dark mirror lenses (sunglasses) use ~0.8 to combine strong reflection with slight tint — that's a stylistic choice, not strict PBR.
Decision tree
Reference-look handoff
If the goal is to match an original/reference image rather than make a generally attractive render, chain-load reference-look-calibration. It owns measurement of hue/saturation/value, object extent, glow/aura color, and before/after look metrics. This skill should then apply the requested material/lighting/render changes within that calibrated target.
Recipes (the 12 to know)
Each recipe creates the material and assigns it to a target object. Replace 'GEO-target' with your actual object name.
set_input helper — required for some Blender 5.x BSDF inputs
In Blender 5.x's Principled BSDF v2, two inputs are flagged `enabled=False` in the data API: Weight and Subsurface IOR. These are reachable by iteration or index but not by string-key lookup — bsdf.inputs['Subsurface IOR'] raises KeyError even though the input exists and its value is respected at render time. This is a Blender 5.x quirk surfaced during v0.4.0 → v0.5.0 validation.
Use this helper whenever a recipe sets an input that might be in the disabled-but-functional state. It works on every input (enabled or not) and is forward-compatible if more inputs become disabled in future Blender versions:
For inputs that are reliably enabled (Base Color, Metallic, Roughness, IOR, Transmission Weight, Sheen Weight, etc.), direct string-key assignment still works fine — the helper is only required where an input is conditionally disabled. Recipe 9 (Skin) uses it because Subsurface IOR is one of the affected inputs.
Recipe 1 — Brushed steel
Recipe 2 — Polished gold
Recipe 3 — Polished copper
Recipe 4 — Mirror chrome
Recipe 5 — Clear glass
Recipe 6 — Frosted glass
Recipe 6b — Coloured glass (wine bottle, tinted vials, decorative glass)
Using only Base Color to tint Principled BSDF makes coloured glass look flat or metallic. Real coloured glass has volume absorption: light passing through gets tinted by the distance it travels, so thick parts look darker and thin parts look lighter. This is the depth-based richness that makes glass read as glass.
Pattern: keep the surface near-white with slight roughness, attach a Volume Absorption shader to the Material Output's Volume input.
Tuning Density: 0–10 = very subtle tint (clear bottle); 20–40 = clear bottle-green or amber; 60–100+ = nearly opaque (cobalt-blue medicine bottle).
Tuning Color: invert intuition — the volume Color is what gets removed from passing light, so for "wine green" use saturated green; for "amber" use saturated yellow-orange.
Other coloured-glass examples (density values updated v0.9.0 after subject-class lighting fix):
| Name | Volume Color | Density | Surface tint | |
|---|---|---|---|---|
| Wine bottle (deep green) | (0.05, 0.32, 0.10) | 80 | near-white | |
| Pale tinted (clear vial) | (0.10, 0.45, 0.18) | 15 | near-white | |
| Champagne / pale gold | (0.85, 0.65, 0.30) | 25 | near-white | |
| Cobalt blue (medicine bottle) | (0.10, 0.20, 0.85) | 80 | near-white | |
| Amber / brown beer bottle | (0.80, 0.40, 0.10) | 70 | near-white | |
| Ruby red | (0.85, 0.10, 0.15) | 100 | near-white |
Density tuning rule of thumb under neutral/glass-class lighting:
- Density 5–15 = subtle hint of colour (clear + tinted)
- Density 30–50 = medium tint visible at thin sections
- Density 60–100 = proper wine/beer/cobalt bottle look (recommended for hero shots)
- Density 100+ = nearly opaque (artistic / decorative)
If under standard 4:1:2 metal-class lighting the volume tint washes out (v0.7.0 issue), don't crank density to compensate — switch to subject_class='glass' lighting in blender-lighting Recipe 0a, which uses softer rim that preserves the volume colour.
Critical: Cycles transmission_bounces must be ≥ 16 (default 12) for thick or layered colour glass; otherwise rays terminate and the glass renders black on the inside.
Pitfall: don't set Base Color to the tint colour AND attach a Volume — you get double-tinting that looks wrong. Surface near-white, volume does the colour work.
Recipe 7 — Matte plastic (red)
Recipe 8 — Lacquered plastic (car-paint look)
Recipe 9 — Skin (light tone)
Uses the set_input helper because Subsurface IOR has enabled=False on Blender 5.x and isn't reachable by string-key lookup. The other inputs work fine either way; using the helper consistently keeps the recipe safe across versions.
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
- SKILL.md in the repositoryCheckingagents/skills/blender-materials/SKILL.md
Popularity
- Repository stars
- 117
- Repository forks
- 22
- 7-day trend score
- 29
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
[](https://verified-skill.com/skills/vibegameengine/web-starter-kit/blender-materials)