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

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

1. GL ERROR :GL_INVALID_OPERATION : glDrawElements: [ 100%]

...LID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0 [file:///E:/SVN/ZQ2/client2.0/bin/index.html]   [.Offscreen-For-WebGL-0834E938]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0 [file:///E:/SVN/ZQ2/client2.0...

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

2. 发布微信小程序的时候提示错误[xmldom error] element parse error: Error: invalid attribute:full\ [ 99%]

...序的时候提示错误[xmldom error] element parse error: Error: invalid attribute:full\ 发布平台    帮助 源根目录   H:\layabox\js\bin   浏览 发布目录   H:\layabox\js\release\wxgame   浏览 排除文件   排除某些目录或者文件,用分号隔开   浏览   是...

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

3. XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. [ 99%]

XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. XmlDom没有了吗?要用哪个类? 我只找到原生的XMLDocument,可是报错 Property 'attributes' does not exist on type 'Node & ChildNode'. 谁 遇到过?let local_confi...

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

4. 求问shader中的attribute变量怎么动态修改 [ 98%]

求问shader中的attribute变量怎么动态修改 想实现uv偏移,调用set方法给a_texcoord1赋值没什么效果,是还要刷新吗?还是只能改变uniform变量? 附件 : --> 2017-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

5. 粒子销毁后webgl报错:no buffer is bound to enabled attribute,同时所有图片皆无法显示,黑屏 [ 98%]

粒子销毁后webgl报错:no buffer is bound to enabled attribute,同时所有图片皆无法显示,黑屏 采用官方的粒子演示代码,额外在stage中加了一个星星图片,计时两秒后将粒子destroy掉。destroy后星星图片无法显示,同时控制台警告:WebGL: ...

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

6. exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 [ 97%]

exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 安卓上打包运行没问题 iphone上打包运行弹窗报以上alert,请问我该如何定位这个alert 2017-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...

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

7. layaplayer渲染模型报错,小游戏里正常 [ 92%]

...模型报错,小游戏里正常 麻烦看一下报错,谢谢: a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0x894e4ec0 Out of bounds vertex attribute info: clientArray? 0 attribute 3 vbo 13 allocedBufferSize 11136 bufferDataSpecified? 1 wanted...

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

8. shader 问题[关闭] [ 88%]

... uniform 和attrbuite 都写在 Laya.Value2D 扩展里面 类似      attribute vec2 position;     attribute vec2 texcoord;     attribute vec4 color;     uniform vec2 size;     uniform mat4 mmat;     varying vec2 v_texcoord;varying vec4 v_color;     void main(){       vec4 pos =mma...

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

9. 描边Shader,使用了两个Pass [ 87%]

...ss OutlineMaterial extends Laya.BaseMaterial { constructor() { super() var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0, 'a_Texcoord': Laya.VertexMesh.MESH_TEXTURECOORDINATE0, } var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Lay...

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

10. 2d 自定义shader [ 87%]

...序和片元着色器程序。             let vs: string = `attribute vec2 position;             attribute vec2 texcoord;             attribute vec4 color;             uniform vec2 size;             uniform mat4 mmat;           ...

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