kevinbadi/blender-skills

polyhaven-material-swap

Cycle through multiple PolyHaven materials on a product and render each variant. Great for showing color/finish options. Trigger when asked to show material variants, swap textures, create color options, show finish comparisons, or render product in different materials.

First seen Jun 15, 2026

Installation

$ npx skills add kevinbadi/blender-skills --skill polyhaven-material-swap

Also in this package

Other skills from kevinbadi/blender-skills · top by installs.

npx skills add kevinbadi/blender-skills

Browse all from kevinbadi/blender-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 89
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,772 B
  • docs SUMMARY.md 301 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 60 installs

SKILL.md

PolyHaven Material Swap

Applies multiple PolyHaven PBR textures to the same object one by one and renders each — perfect for showing product finish variants (matte black, glossy white, brushed metal, marble, etc.).

How to Run

node polyhaven-material-swap/scripts/polyhaven-material-swap.js --object Mesh_0 --textures "marble_01,brushed_metal,carbon_fiber" --output ~/Desktop/variants
node polyhaven-material-swap/scripts/polyhaven-material-swap.js --object Mesh_0 --preset metals --output ~/Desktop/metals

Options

Option Description Default
--object Blender object name required
--textures Comma-separated PolyHaven texture IDs required (or use --preset)
--output Output directory for rendered images required
--preset Texture set: metals, woods, stones, fabrics none
--resolution Texture resolution: 1k, 2k 2k
--render-width Render image width 1920
--render-height Render image height 1080
--samples Render samples 64
--port Blender MCP port 9876

Presets

  • metals — brushedmetal, rustymetal, paintedmetal02, corrugated_iron
  • woods — woodcabinetwornlong, plywood, barkbrown02, woodfloor
  • stones — marble01, concretewall003, rockface, gravelfloor02
  • fabrics — fabricpattern07, leatherred02, denimfabric, burlap01