Skill library

Agent skill Web motion

3D Metal Material

Use spatial graphics, scenes or materials to support a web experience.

  • 3D / WebGL
  • Three.js

Install the skill

Use the original publisher files as direct project context. The CLI rejects this revision’s published YAML. The demo and isolated reflection fixture use three@0.169.0 and WebGL 2.

Open the publisher’s downloadView operation manual

What this skill helps with

  • Use spatial graphics, scenes or materials to support a web experience.

Good for

  • 3D on the web
Publisher
Meng To
Controls
metalness: 1 · linear F0 · PMREMGenerator.fromScene · HDR cards · original geometry
Result
The same conductor gains a shaped reflection from the studio cards.
Skill name
3d-metal-material
Repository
MengTo/Skills

Common pitfall

Avoid this prompt

Raise environment intensity on a uniform room and assign a paint-like base color to the metal.

Structured highlights come from the reflected environment and a conductor’s linear reflectance tint.

Use these steps

  1. Read the source and set up the example
  2. Implement the documented behavior
  3. Inspect the actual result

Project walkthrough

Compare structured and uniform reflections on your own solid with the same conductor material.

Compare structured and uniform reflections on your own solid with the same conductor material.

  1. Read the source and set up the example

    Use the original publisher files as direct project context. The CLI rejects this revision’s published YAML. The demo and isolated reflection fixture use three@0.169.0 and WebGL 2.

    Prompt · Step 1
    Use 3D Metal Material via the publisher’s original SKILL.md and PROMPT.md. Consult demo.html for the material and lighting structure. Use my own plain torus or bevelled specimen. Set up two comparable views with the same mesh, camera, and exposure.
  2. Implement the documented behavior

    Compare structured and uniform reflections on your own solid with the same conductor material.

    Prompt · Step 2
    Set metalness to 1. For brass, use Color.setRGB(0.89, 0.72, 0.36, LinearSRGBColorSpace). Bake one uniform room and one dark room with bright toneMapped:false window cards through PMREMGenerator.fromScene(). Bind the environment texture to the material for this explicit A/B test. Keep roughness fixed during the room comparison, then add variation separately if needed.
  3. Inspect the actual result

    The same conductor gains a shaped reflection from the studio cards.

    • The same conductor gains a shaped reflection from the studio cards.
    Prompt · Step 3
    Compare the specimen highlight structure or luminance spread within the object silhouette. Keep a still render for reduced motion. Confirm render targets, materials and geometry are disposed when the view is removed, and record which finish steps were exercised.

Implementation lookup

Compare the required inputs with the local verification result.

Inspect the implementation controlsVerify
Command or reference
metalness: 1 · linear F0 · PMREMGenerator.fromScene · HDR cards · original geometry
Examples
The same conductor gains a shaped reflection from the studio cards.

FAQ

What should I prepare first?

Use the original publisher files as direct project context. The CLI rejects this revision’s published YAML. The demo and isolated reflection fixture use three@0.169.0 and WebGL 2.

How do I verify the result?

The same conductor gains a shaped reflection from the studio cards.