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

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

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

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

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

42. 引擎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

43. 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

44. 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

45. 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

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

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

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

47. 新版版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

48. [LayaAir3]3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为报错 [ 51%]

...(WebGLRenderContext2D.js:137:71)     at WebGLSetRendertarget2DCMD.apply (WebGL2DRenderCMD.js:18:17)     at WebGLRenderContext2D.js:159:21     at Array.forEach (<anonymous>)     at WebglRenderContext2D.runCMDList (WebGLRenderContext2D.js:158:14)     at CommandBuffer2D.apply (CommandBu...

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

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

...   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

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

...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