Three.js 学习笔记

155 阅读1分钟

半透明

const geometry1 = new SphereGeometry(10,10,10)
const material1 = new MeshLambertMaterial({
    color0xeeeeee,
    transparenttrue,
    opacity0.5
})
const mesh1 = new Mesh(geometry1, material1)
scene.add(mesh1)