会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
隔壁的小明
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
WebGL
three.js中简单粗暴实现渐变色背景
摘要:首先需要实现渲染器的背景透明显示 this.renderer = new THREE.WebGLRenderer({ alpha: true, // canvas是否包含alpha (透明度) 默认为 false antialias: true, precision: 'highp', }) thi
阅读全文
posted @
2021-10-22 10:32
隔壁的小明
阅读(2749)
评论(0)
推荐(0)
MTLLoader 报 Handlers.get() has been removed. Use LoadingManager.getHandler() instead 错误处理
摘要: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)
公告