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

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

21. 如何自定义Shader(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 54%]

...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

22. ide 2.4 layaair2-cmd 编译报错 [ 53%]

...r TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. [14:22:35] 'compile' errored after 286 ms [14:22:35] Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)     at error (/...

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

23. laya.d3.shader.SubShader_API3.0 [ 52%]

...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

24. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 48%]

...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

25. 分享水波一个shader [ 45%]

...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

26. 项目做了一周.然后打不开了.怎么办? [ 44%]

...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

27. 关联shader的uniform(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 42%]

...用的着色器: 顶点着色器 `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_文档 发布时间: 20210715

28. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 42%]

...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

29. 继承自Laya.BaseMaterial并且自定义Shader的的自定义材质如何设置透明渲染 [ 41%]

...MATERIAL, 'u_MainCol': Laya.Shader3D.PERIOD_MATERIAL }; var vs:string = ` #include "Lighting.glsl"; attribute vec4 a_Position; attribute vec3 a_Normal; attribute vec2 a_Texcood0; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; varying vec3 v_Normal; varying vec2 uv; varying vec4 worldPos; void ma...

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

30. ShaderPass介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 39%]

...用的着色器: 顶点着色器 `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_文档 发布时间: 20210715