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

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

1. LayaAir error: add shader include file err, has add:parts/ColorFilter_ps_uniform.glsl [ 100%]

LayaAir error: add shader include file err, has add:parts/ColorFilter_ps_uniform.glsl 我现在在自己的ionic工程里加入layair,发现 Laya.init(480, 852, Laya.WebGL); 这样调用 退出界面,再次进入就会报如下错误: error: add shader include file err, has add:parts/ColorFil...

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

2. Error: add shader include file err:LightHelper.glsl [ 98%]

Error: add shader include file err:LightHelper.glsl 报这个错误 Error: add shader include file err:LightHelper.glsl 看内部代码 没有引入这个 文件   是不是哪些库我没有引入进来呢? 2016-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

3. add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一句代码都会出现这个问题 [ 96%]

add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一句代码都会出现这个问题 附件 : --> 2019-01-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 soren 赞同来自: ...

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

4. [LayaAirIDE3]Laya3.2.1命令行打包,编译错误也生成成功 [ 88%]

...Quad.lm add ~/internal/sky.jpg add ~/internal/Sphere.lm add ~/internal/glTFShader/glTFMetallicRoughness.glsl add ~/internal/glTFShader/glTFPBR.shader add ~/internal/glTFShader/glTFPBRInitSurfaceInput.glsl add ~/internal/shaderBlueprint/lib/BlueprintDepthFrag.glsl add ~/internal/shaderBlueprint/lib/B...

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

5. 写shader还区分2d,与3d么!看官网是3d的shader例子,有没有2d的shader例子? [ 79%]

shader还区分2d,与3d么!看官网是3d的shader例子,有没有2d的shader例子? private initShader(): void { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRI...

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

6. Shader预编译解决方案 [ 78%]

Shader预编译解决方案   ver2.5.0    {laya.d3.js} 源码分析 BaseRender.material : Laya.Material material._shaderValues  :  Laya.ShaderData material._shaderValues._defineDatas :Laya.DefineDatas  参考接口 _render(context) {     ...     this._material._shaderValues._d...

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

7. box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. [ 77%]

...ght TypeError: Cannot read property 'btCollisionObject' of undefined 求问shader中的attribute变量怎么动态修改 红米K20pro 多个手指同时按下就会报这个错 object has in SimpleSingletonList 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defi...

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

8. 请教下, 自己写了个渐变色shader, 但是效果始终不对。麻烦大神们看看代码哪里有问题 [ 76%]

请教下, 自己写了个渐变色shader, 但是效果始终不对。麻烦大神们看看代码哪里有问题 var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_MATERIAL], 'u_StartColor':[La...

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

9. 动画混合问题 [ 72%]

...UG备忘录】关于Tween动画无法正常作用问题-解决办法 关于shader中opengl函数问题 问题状态 最新活动: 2020-09-22 10:33 浏览: 552 关注: 4 人 乐行 • 2020-09-22 10:42 我看你们资源用的是覆盖模型,并不add模式,你可以看一下官方的资源,覆...

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

10. 如何高效更新自定义shader(在fs中增加自己的变量) [ 71%]

如何高效更新自定义shader(在fs中增加自己的变量) 自定义shader中的部分属性随时间改变,现在是在loop里删除该shader然后重新创建shader,这样感觉性能开销很大,有方法重用之前的shader然后完成更改吗? 2017-08-14 添加评论 免费帖 ...

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