其他

threejs-materials

calesthio/openmontage

Three.js materials - PBR, basic, phong, shader materials, material properties. Use when styling meshes, working with textures, creating custom shaders, or optimizing material performance.

  • 1109 次安装
  • 7.3万 星标
  • 收录于

安装命令

npx skills add https://github.com/calesthio/openmontage --skill threejs-materials

SKILL.md

Three.js Materials

Quick Start

import * as THREE from "three";

// PBR material (recommended for realistic rendering)
const material = new THREE.MeshStandardMaterial({
  color: 0x00ff00,
  roughness: 0.5,
  metalness: 0.5,
});

const mesh = new THREE.Mesh(geometry, material);

Material Types Overview