大约有 69 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
...用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; attribute vec2 a_Texcoord0; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; varying vec2 v_Texcoord0; void main() { gl_Posi...
来源: Laya2.0_文档 发布时间: 20210714
...tomMaterials`下 顶点着色器 `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_Position; mat3 worldMat=mat3(u...
来源: Laya2.0_文档 发布时间: 20210715
...tomMaterials`下 顶点着色器 `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_Position; mat3 worldMat=mat3(u...
来源: Laya2.0_文档 发布时间: 20210715
...SubShader。 Hierarchy SubShader Index Constructors constructor Properties IncludeUniformMap Methods _addShaderPass addShaderPass getFlag setFlag __init__ regIncludeBindUnifrom Object literals DefaultAttributeMap Constructors constructor new SubShader(attributeMap?: {}, uniformMap?: UniformMapType, ...
来源: Laya3.0_api 发布时间: 20231102
...1, y1, x2, y2, x3, y3); result.push(x, y); } } // Ensure the last point is included const lastIndex = this.points.length - 2; if (result[result.length - 2] !== this.points[lastIndex] || result[result.length - 1] !== this.points[lastIndex + 1]) { result.push(this.points[lastIndex], this.points[lastIn...
来源: Laya_社区 发布时间: 20241008
...json` 文件中声明如下: ``` "enableEnhancedBuild": true, // 必须 "include":["packageA/**","packageB/**"] //必须 ``` 开发者需要自己去加载分包和资源 ``` my.loadSubPackage({ name: 'packageA', success: (res) => { this.setData({ subpackageReady:true }) console.log("download succ...
来源: Laya2.0_文档 发布时间: 20210715
...aExt.sln └── LayaExt/ ├──layaRuntime/ 扩展的SDK | ├── include/ | └── lib/ | └── x64 | └── conch.lib ├──dllmain.cpp ├──exports.cpp 包含示例代码 ├──LayaExt.vcxproj └──framework.h 2.2 生成动态链接库 打开项目后,点击图2...
来源: Laya3.0_文档 发布时间: 20251010
...in prefab can't export You should check the texture file format add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一句代码都会出现这个问题 Swift中接入其他都正常,但是在你们的conchConfig中,报错'string' file not found 微信游戏多次...
来源: Laya_社区 发布时间: 20180715
...irIDE_1.7.15\resources\app\out\codeextension\updateversion\extension.js:59 includes /E:/laya/ide/LayaAirIDE_1.7.15/resources/app/out/vs/workbench/electron-browser/workbench.main.js:95787 [Extension Host] Error: ENOENT: no such file or directory, scandir 'C:\Users\Administrator\AppData\Local\GitHub' ...
来源: Laya_社区 发布时间: 20180319
...HPRECISION precision highp float; #else precision mediump float; #endif #include "Lighting.glsl"; uniform sampler2D u_MainTex; uniform sampler2D u_NoiseTex; uniform vec3 u_CameraPos; uniform vec3 u_AmbientColor; uniform DirectionLight u_DirectionLight; uniform float u_Time; varying vec2 v_tex...
来源: Laya_社区 发布时间: 20190923