Skip to content
Productivity
Skill

/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.

From plugin
public-agent-skills
25646 skills4 agents

Claude Code

$ npx -y skills add cafe3310/public-agent-skills --skill polyhaven-material-swap --agent claude-code

SKILL.md

polyhaven-material-swap.SKILL.md
name: polyhaven-material-swap
description: >
  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.
license: MIT
author: https://github.com/kevinbadi/blender-skills
depends_on_skill:
  - blender-skills
depends_on_binary:
  - blender
  - node

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** — brushed_metal, rusty_metal, painted_metal_02, corrugated_iron
  • **woods** — wood_cabinet_worn_long, plywood, bark_brown_02, wood_floor
  • **stones** — marble_01, concrete_wall_003, rock_face, gravel_floor_02
  • **fabrics** — fabric_pattern_07, leather_red_02, denim_fabric, burlap_01
Read more
@cafe3310
Ships withpublic-agent-skills

个人常用的 Agent Skill(公开部分)。通过合适的上下文工程,可以将 Agent Skill 用在几乎任何地方。

25646 skills4 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
256
Star history of cafe3310/public-agent-skills on GitHub, a chart by star-history.com

Other skills on public-agent-skills.

agent-browser

agent-browser

为 Agent 设计的自动化浏览器 CLI 工具,也能操作 Electron 桌面应用。当需要与网站交互(包括页面导航)时使用

aop-product-planner

aop-product-planner

面向切面 (AOP) 的智能产品策划与需求拆解范式。用于从目标叙事、AOP 切面分层、乱序 Idea 收集、功能边界界定到需求依赖拓扑与优先级的全流程产品工程规划。

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about polyhaven-material-swap.

Which coding agents can use polyhaven-material-swap?
polyhaven-material-swap installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.