大约有 71 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0038 秒)
...r 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/ColorFilter_ps_...
来源: Laya_社区 发布时间: 20170208
...S:LitVS, FS:LitFS } ] } Shader3D End GLSL Start #defineGLSL LitVS #define SHADER_NAME slicePBR #include "Math.glsl"; #include "Scene.glsl"; #include "SceneFogInput.glsl" #include "Camera.glsl"; #include "Sprite3DVertex.g...
来源: Laya_社区 发布时间: 20250428
add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一句代码都会出现这个问题 附件 : --> 2019-01-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 soren 赞同来自: ...
来源: Laya_社区 发布时间: 20190107
...//引入Shader需要使用的其他库文件 Shader3D.addInclude("Lighting.glsl", LightingGLSL); Shader3D.addInclude("ShadowSampleTent.glsl", ShadowSampleTentGLSL); Shader3D.addInclude("GlobalIllumination.glsl", GlobalIllumination) Shader3D.addInclude("Shadow.glsl", ShadowGLSL); Shader3D.addInclude(...
来源: Laya2.0_文档 发布时间: 20210714
...//引入Shader需要使用的其他库文件 Shader3D.addInclude("Lighting.glsl", LightingGLSL); Shader3D.addInclude("ShadowSampleTent.glsl", ShadowSampleTentGLSL); Shader3D.addInclude("GlobalIllumination.glsl", GlobalIllumination) Shader3D.addInclude("Shadow.glsl", ShadowGLSL); Shader3D.addInclude(...
来源: Laya2.0_文档 发布时间: 20210715
...//引入Shader需要使用的其他库文件 Shader3D.addInclude("Lighting.glsl", LightingGLSL); Shader3D.addInclude("ShadowSampleTent.glsl", ShadowSampleTentGLSL); Shader3D.addInclude("GlobalIllumination.glsl", GlobalIllumination) Shader3D.addInclude("Shadow.glsl", ShadowGLSL); Shader3D.addInclude(...
来源: Laya2.0_文档 发布时间: 20210715
...} } shaderPass:[ { pipeline:Forward, VS:LitVS, FS:LitFS } ] } Shader3D End GLSL Start #defineGLSL LitVS #define SHADER_NAME PBRColorBatchShader #include "Math.glsl"; #include "Scene.glsl"; #include "SceneFogInput.glsl" #include "Camera.glsl"; #include "Sprite3DVertex.glsl"; #include "VertexCommon.gl...
来源: Laya3.0_文档 发布时间: 20251010
...时全部剔除掉。 2.AGAL脚本代码 AGAL脚本代码必须修改为GLSL脚本代码,项目中涉及到AGAL使用的代码部分需要做出以下修改(使用LayaFlash宏编译:http://layaflash.ldc.layabox.com/index.php?m=content&c=index&a=show&catid=6&id=9 辅助)。 ...
来源: Laya_社区 发布时间: 20151221
...5.146 ZhuaWawa[2531:1863752] found the file in the package:shaders/todevVS.glsl 2018-01-09 20:50:15.147 ZhuaWawa[2531:1863752] found the file in the package:shaders/fillColorPS.glsl 2018-01-09 20:50:15.147 ZhuaWawa[2531:1863752] found the file in the package:shaders/drawImagePS.glsl 2018-01-09 20:50...
来源: Laya_社区 发布时间: 20180109
...动图3) ***Tips**:引擎包目录下`LayaAirFlash/flash`文件夹中的`glsl2agal.swc`也是用于Flash版本的发布,但是,引用`glsl2agal.swc`之后需要在项目的源路径处引用发布Flash的库。而LayaAirFlash.swc集成了库,所以无需重复引用。需要注意的是`Laya...
来源: Laya2.0_文档 发布时间: 20210715