随笔分类 -  WebGL

摘要:首先需要实现渲染器的背景透明显示 this.renderer = new THREE.WebGLRenderer({ alpha: true, // canvas是否包含alpha (透明度) 默认为 false antialias: true, precision: 'highp', }) thi 阅读全文
posted @ 2021-10-22 10:32 隔壁的小明 阅读(2749) 评论(0) 推荐(0)
摘要:npm包中定义错误, 找到 /node_modules/three-obj-mtl-loader/index.js 注释第543行,然后在544行后面插入:var loader = manager.getHandler( url ); 阅读全文
posted @ 2021-09-27 16:59 隔壁的小明 阅读(773) 评论(0) 推荐(0)