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

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

51. flash builder4.7源码报错也不能断点 [ 52%]

...路径 我的playerglobal.swc下载AS包的时候导入,在官网下载glsl2agal。swc。 3、外部工具设置 4、sdk版本设置是4.7标配 现在的问题是我导入的源码报错 ,fb也不能断点 遇到的问题 1、就是类库报错,player设置为11.9也没用 2、不能断点,...

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

52. 请问为什么我在ps内设置gl_FragColor的Alpha值,并没有效果呢 [ 51%]

...else\nprecision mediump float;\n" + "#endif\n\n" + "#include \"LightHelper.glsl\";\n\n" + "uniform sampler2D u_texture;\n" + "varying vec2 v_Texcoord0;\n" + "void main(){\n" + "gl_FragColor=vec4(0.0,1.0,1.0,1.0);\n" + "}";无论Alpha设定1.0或者0.0都是一样的的结果?,我该如何让模型...

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

53. LayaAir AS版 找不到UI库 [ 50%]

...的SDK删了,导入了laya的三个库 playerlobal.swc LayaAirFlash.swc glsl2agal.swc 按照教程来的,应该是对的吧 cuixueying • 2017-01-19 15:29 是的,没有问题的,playerglobal.swc需要是11.8以上的,SWC 186*****403 • 2017-01-19 16:26 playerglobal.swc我用的是LayaAir...

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

54. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 45%]

... 顶点着色器 `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_Position = u_MvpMatrix...

来源: Laya2.0_文档 发布时间: 20210714

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

...点着色器 `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_WorldMat); v_Normal...

来源: Laya2.0_文档 发布时间: 20210715

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

...点着色器 `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_WorldMat); v_Normal...

来源: Laya2.0_文档 发布时间: 20210715

57. laya.d3.shader.SubShader_API3.0 [ 42%]

...}, defaultValue: {}): void Defined in laya/d3/shader/SubShader.ts:34 注册glsl所用到的Uniform 会在生成Uniformmap的时候根据包含的Include文件,添加所需要的uniform因素 Parameters includeName: string uniformMap: {} [name: string]: ShaderDataType defaultValue: {} [key: string]...

来源: Laya3.0_api 发布时间: 20231102

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

...heck the texture file format add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一句代码都会出现这个问题 Swift中接入其他都正常,但是在你们的conchConfig中,报错'string' file not found 微信游戏多次加载出现:copyFile:fail the max...

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

59. 打包成APK运行一半崩溃 [ 39%]

...  8591-8591/? I/LayaBox﹕ found the file in the package:shaders/todevVS.glsl 04-11 11:17:09.455    8591-8591/? I/LayaBox﹕ found the file in the package:shaders/fillColorPS.glsl 04-11 11:17:09.455    8591-8591/? I/LayaBox﹕ found the file in the package:shaders/drawImagePS.glsl 04-11 11:17:0...

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

60. 分享水波一个shader [ 38%]

...on 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_textcoord; varying ve...

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