• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 14 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0014 秒)

11. 新版版2d粒子问题?同样的代码,LayaAir IDE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错 [ 83%]

...   })   错误信息:TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'   2019-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 1554865771...

来源: Laya_社区 发布时间: 20190808

12. 头条/微信/OPPO/vivo/趣头条/百度 等渠道发布 [ 81%]

...-09-24 16:29 大佬,发头条的“Failed to execute 'texSubImage2D' on 'WebGL2RenderingContext':”怎么搞? 星夜 • 2020-02-21 17:43 @ITMasterC:不支持webgl2 需要把开关关了

来源: Laya_社区 发布时间: 20190910

13. 微信3D小游戏 ,Laya2.2.0 在微信工具中运行,WebGLShader 崩溃,如截图,100%重现,在安卓/iOS真机上不出这个问题 [ 80%]

...   laya.d3.js:1 Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGL2RenderingContext': parameter 1 is not of type 'WebGLShader'.    at ShaderInstance._createShader (laya.d3.js:1)     at ShaderInstance._create (laya.d3.js:1)     at new ShaderInstance (laya.d3.js:1)     at Shad...

来源: Laya_社区 发布时间: 20191024

14. [LayaAir3]调用renderTexture.getDataAsync且同时勾选camera的hdr或msaa,webgl必报错 [ 79%]

...DataAsync(0, 0, 50, 28, out) as Uint8Array; let gl:WebGLRenderingContext | WebGL2RenderingContext = Laya.WebGLEngine.instance.gl; let errorCode:number = gl.getError(); if(errorCode != 0) {     console.log("webgl报错了,错误代码为" + errorCode); }   3 camera勾选hdr或者msaa   运行...

来源: Laya_社区 发布时间: 20250916