大约有 2,371 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0063 秒)
Laya_社区(2329) Laya2.0_文档(16) Laya3.0_文档(11) Laya_示例(5) laya_api(3) Laya3.0_api(3) Laya2.0_示例(2) Laya2.0_api(2)
...误: Error processing launch: Error Could not attach to main target 启动vscode运行编译好的项目,launch chrome浏览器会出现错误: Error processing launch: Error Could not attach to main target 请教下这个是什么原因导致?如何修复? 附件 : --> 2020-07-15 添加...
来源: Laya_社区 发布时间: 20200715
...e))。 ##### 第一个Pass使用的着色器: 顶点着色器 `outline.vs` 代码如下: ```c++ attribute vec4 a_Position; attribute vec3 a_Normal; uniform mat4 u_MvpMatrix; uniform float u_OutlineWidth; void main() { vec4 position = vec4(a_Position.xyz + a_Normal * u_OutlineWidth, 1.0); gl_Po...
来源: Laya2.0_文档 发布时间: 20210714
...码同级的文件夹 `customMaterials`下 顶点着色器 `simpleShader.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; void main() { gl_Position = u_MvpMatrix * a_Posi...
来源: Laya2.0_文档 发布时间: 20210715
...码同级的文件夹 `customMaterials`下 顶点着色器 `simpleShader.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; void main() { gl_Position = u_MvpMatrix * a_Posi...
来源: Laya2.0_文档 发布时间: 20210715
...eShader(){ ParticleShader.__super.call(this,ParticleShader.vs,ParticleShader.ps,"ParticleShader"); } __class(ParticleShader,'laya.particle.shader.ParticleShader',_super); __static(ParticleShader, ['vs',function(){return this.vs="attribute vec4 a_Corn...
来源: Laya_社区 发布时间: 20171109
...ineMode: string = "Forward" Returns ShaderPass addShaderPass addShaderPass(vs: string, ps: string, pipelineMode?: string): ShaderPass Defined in laya/d3/shader/SubShader.ts:179 添加着色器Pass Parameters vs: string ps: string Default value pipelineMode: string = "Forward" 渲染管线模式。 R...
来源: Laya3.0_api 发布时间: 20231102
...ader3D.PERIOD_MATERIAL, "u_ZDistance": Laya.Shader3D.PERIOD_MATERIAL } var vs: string = ` #include "Lighting.glsl"; attribute vec4 a_Position; attribute vec2 a_Textcoord; uniform mat4 u_WorldMat; uniform mat4 u_MvpMatrix; uniform mat4 u_View; uniform mat4 u_Projection; uniform float u_XOffset; unifo...
来源: Laya_社区 发布时间: 20201009
...ioContext was not allowed to start. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 IDE1.7.8 json图集加载问题 关于适配采用showAll后留白部分的颜色问题 播放背景音乐的问题 刚打开 桌面调试出现报错Uncau...
来源: Laya_社区 发布时间: 20190625
...小游戏如何使用ttf字体? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 请问下加载TFF字体要怎么加载呢? 位图字体不显示 请问有人遇...
来源: Laya_社区 发布时间: 20190529
资源导出失败 resources\app\out\vs\layaEditor\libs\TP\atlas-generator.exe 有没有64位版本,现在32位版,内存超过2G崩溃 2020-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠...
来源: Laya_社区 发布时间: 20200403