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.
- License 许可
- MIT
- 所属仓库
- siddu1004/SFP
- 最近更新
- 2026-11-09
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- 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.
02 资源文件 1
03 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 — 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
04 同仓库更多 Skills
scientific-schematics
Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.7 Flash for quality review. Refines when the review requests improvement, with at most two generations. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations.
polyhaven-texture-apply
Apply realistic PBR textures from PolyHaven to any Blender object. Supports metals, wood, concrete, fabric, and more. Trigger when asked to texture an object, apply a material from PolyHaven, make something look like metal/wood/marble, or change object surface.
polyhaven-studio-setup
Set up a professional product photography studio in Blender using PolyHaven HDRIs and PBR ground materials. Trigger when asked to create a studio setup, add HDRI lighting, set up product photography, or create a showroom scene.
polyhaven-scene-builder
Build complete product scenes using PolyHaven assets — HDRI environment, textured ground/pedestal, and optional props from the 3D model library. Trigger when asked to build a product scene, create a showcase setup, add a pedestal, or compose a product shot.
polyhaven-hdri-showcase
Render the same product across multiple HDRI environments and output a comparison grid. Trigger when asked to compare lighting setups, test different environments, show product in multiple settings, or create an HDRI comparison.
perfect-loop
Seamless looping 360-degree turntable. First and last frames match perfectly for infinite loop playback.