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

大约有 42 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0031 秒)

31. 2.2.0使用2d粒子报错 [ 54%]

...laya.core.js:2554 Uncaught TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'.     at ParticleShader._compile (VM258 laya.core.js:2554)     at ParticleShader.recreateResource (VM258 laya.core.js:2529)     at new Shader (VM258 laya....

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

32. 3d文字在浏览器能正常运行,打包后使用时会报错 [ 54%]

...,打包后使用时会报错 错误:Failed to execute "texImage2D" on "WebGL2RenderingContext":No function was found that matched the signature provided   在this.texture2D.loadImageSource(this.cav);报错   this.cav = Laya.Browser.createElement("canvas"); this.cav.width = 256; this.cav.height...

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

33. Laya2.12+chrome96 在特定机器上还会出现黑屏和小哭脸。 [ 54%]

...,是不是跟显卡有关系? 注:最后一张截图,var names = ["webgl2", "webgl", "experimental-webgl", "webkit-3d", "moz-webgl"] 这5种  canvas.getContext(names[i]) 都获取不到。 附件 : --> 2021-11-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

34. 3d模型在相机纹理不能居中显示,人物锯齿严重 [ 54%]

...derTexture修改为MulSampleRenderTexture(MulSampleRenderTexture只能在webgl2上有用)。并且将_camera.msaa设为true。修改代码如下所示: 2022-05-09 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 158*****197 相关问...

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

35. 引擎2.13.0beta ios不同的系统闪屏或者花屏的问题 [ 54%]

...ide新建2D示例项目,在ios系统15.0 和15.1.1版本上,Config.useWebGL2 = true; 开启userwebgl2 (isAntialias开启关闭都可以  )会导致花屏 [attach]29809[/attach] [attach]29810[/attach] 在ios15.4.1系统版本上开启Config.useWebGL2 = true,如果开启isAntialias会闪屏...

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

36. parameter 2 is not of type 'WebGLTexture'. [ 54%]

...laya.core.js:906 Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLTexture'. 代码如下:// 创建video对象 let videoElement = new Laya.Video(); videoElement.x = 0; videoElement.y = 0; videoElement.size(1920,1080); videoElement.loo...

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

37. LayaAir IDE 2.2.0beta2版本2d粒子不能用了,LayaAir IDE 2.1.0版本正常 [ 53%]

...2.1.0版本正常 Uncaught TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'.     at ParticleShader._compile (libs/laya.core.js:2554)     at ParticleShader.recreateResource (libs/laya.core.js:2529)     at new Shader (libs/laya.cor...

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

38. Laya2.0 的3d截图 [ 53%]

...享下,直接上代码了 shot_4_4_4_4():void{         let gl:WebGL2RenderingContext = (Laya.WebGLContext as any).mainContext;         let pixels:Uint8Array = new Uint8Array(gl.drawingBufferWidth*gl.drawingBufferHeight*4);         gl.readPixels(0,0,gl.drawingBuffer...

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

39. IOS15显示乱掉了,非常严重,下周就上线了,今天更新了IOS15,问题全来了 [ 53%]

...个属于花屏问题,你只加了黑屏问题的解决方案。设置useWebGL2为false就好了。 Laya_Fred • 2021-09-30 10:47 @张燕海: 解决方案内的抗锯齿与webgl2的设置,需要在初始化之前完成。 张燕海 • 2021-09-30 10:58 好的,我再试下。

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

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

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

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