如何使用MTLLoader在代码中复制envMap的threejs.org/editor行为?

时间:2016-05-03 22:13:18

标签: three.js

threejs.org/editor的编辑器中创建素材时,有一个简单的Access - the last time the file was read Modify - the last time the file was modified (content has been modified) Change - the last time meta data of the file was changed (e.g. permissions) 字段,可让您上传单个图像以用作环境贴图。我需要使用MTLLoader在代码中复制此行为。这是我的代码:

envMap

但是我在哪里包含该环境地图图像?显然编辑正在把它变成一个三个对象。

0 个答案:

没有答案