热门

最新

红包

立Flag

投票

同城

我的

发布
qw8704149
点燃火柴
4 年前
trueqw8704149

//创建动态环境贴图
this.renderer.renderTarget
const dynamicEnvMapMaterial = new THREE.MeshPhongMaterial({
envMap: this.cubeRenderTarget.texture
})
//创建接受动态环境贴图的球体
const sphereGeometry = new THREE.SphereGeometry(10, 15, 15)
this.sphere = new THREE.Mesh(sphereGeometry, dynamicEnvMapMaterial)
this.scene.add(this.sphere)

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
打卡
立即登录