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

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

21. Starling项目需要注意哪些问题? [ 75%]

...件,则无需考虑修改shader相关的部分,内部已经进了AGAL2GLSL的转换。 对于高级用户,如果修改了Starling内置的AGAL,或者新加入了AGAL,则必须对修改或新写的AGAL做对应的转换GLSL处理,可参考Starling内部的AGAL2GLSL修改实现。 6. Starling...

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

22. [LayaAirIDE2]FontClipPlayer的父类写在哪 [ 74%]

...除加载预设 LayaAir3 AIGC插件在哪下载啊 shader中BlinnPhongFrag.glsl这些glsl在哪 请问关于遮罩的用法,在哪块可以找到? 子类父类都有regclass,但是编辑器没有暴露出父类的property laya3.0 发布相关代码在哪? FBX Tools工具下载地址在哪 问...

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

23. [LayaAir3]WaterPrimaryMaterial的shader为空 [ 73%]

...3d的shader例子,有没有2d的shader例子? shader中BlinnPhongFrag.glsl这些glsl在哪 Laya3d自定义shader 用laya的shader报错 关于Shader的多Pass建议 问题状态 最新活动: 2024-03-22 16:38 浏览: 2745 关注: 2 人 Heured • 2024-03-22 17:14 那在源码和声明文件里...

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

24. ReferenceError: exports is not defined [ 71%]

...ter is not defined 微信小游戏:CustomEvent is not defined 报错:__glsl is not defined,而且bundle.js出现__glsl 问题状态 最新活动: 2018-08-29 20:18 浏览: 2046 关注: 3 人 疯狂的码头 • 2018-05-24 07:49 index.html中引入文件的顺序要和调用的顺序一致。 La...

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

25. 如何使用vscode编译laya项目 [ 69%]

...ire(ideModuleDir + 'rollup-plugin-typescript2');//typescript2 plugin const glsl = require(ideModuleDir + 'rollup-plugin-glsl'); // 如果是发布时调用编译功能,增加prevTasks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } gulp.task("compile", prevTasks, function (...

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

26. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...:[ { pipeline:Forward, VS:baseRenderVS, FS:baseRenderPS } ] } Shader3D End GLSL Start #defineGLSL baseRenderVS #define SHADER_NAME baseRender2D #include "Sprite2DVertex.glsl"; void main() { vec4 pos; //先计算位置,再做裁剪 getPosition(pos); vertexInfo info; getVertexInfo(info); v_texcoord ...

来源: Laya3.0_文档 发布时间: 20251120

27. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 67%]

...riginal gulp-uglify-es iconv-lite request require-dir rollup rollup-plugin-glsl rollup-plugin-typescript2   b)、右键 LayaAirIDE.app->显示包内容,定位到 Contents->Resources->app->node_modules,在该目录中查看上一步中找到的依赖包的版本,比如 del 这个...

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

28. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 66%]

...ire(ideModuleDir + 'rollup-plugin-typescript2');//typescript2 plugin const glsl = require(ideModuleDir + 'rollup-plugin-glsl'); const path = require('path'); const fs = require('fs'); // 如果是发布时调用编译功能,增加prevTasks let prevTasks = ""; if (global.publish) { prevTasks = ["lo...

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

29. 关于自定义Shader中使用 u_AmbientColor 这个Uniform变量的问题 [ 65%]

...后我又去引擎的github中找了这个包含 u_AmbientColor 定义的 glsl文件,globalIllumination.glsl, 引入这个文件也没办法解决。 实在想不明白,有没有大佬知道这个 u_AmbientColor 具体的正确用法,官方的文档也没有详细介绍这些内容,有点...

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

30. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 65%]

...image decode,2987 I/LayaBox: found the file in the package:shaders/todevVS.glsl I/LayaBox: found the file in the package:shaders/fillColorPS.glsl I/LayaBox: found the file in the package:shaders/drawImagePS.glsl I/LayaBox: found the file in the package:shaders/fillImagePS.glsl I/LayaBox: found the f...

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