deepkolos / three-platformize

一个让 THREE 平台化的项目,目前已适配微信,淘宝,头条小程序,微信小游戏
533 stars 82 forks source link

canvasW and extension.MIN_EXT is not defined in TaobaoPlatform #3

Closed Oyh closed 3 years ago

Oyh commented 3 years ago
  1. should use this.canvasH and this.canvasH in line 67 and 73
  2. in real machine test, extensions.get( 'EXT_blend_minmax' ); will return {}, extension.MIN_EXT and extension.MAX_EXT will be undefined
deepkolos commented 3 years ago

感谢反馈,extensions.get( 'EXT_blend_minmax' )返回的为空的问题反馈到淘系互动的钉钉群了

估计是3个修的方式

  1. 是让three认为EXT_blend_minmax扩展不支持
  2. 修改extensions.get( 'EXT_blend_minmax' );的返回值,把代码固定替换webview上支持的
  3. 等官方修复
deepkolos commented 3 years ago

已修复,textureloader也正常了,1.0.13