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

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

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

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ![](img/1.gif) ### 2. stateMap 在 `subShader` 添加通道时,除...

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

32. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 35%]

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ![](img/1.gif) ### 2. stateMap 在 `subShader` 添加通道时,除...

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

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

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ![](img/1.gif) ### 2. stateMap 在 `subShader` 添加通道时,除...

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

34. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 22%]

...lane的材质为创建的材质 this.plane.getComponent(Laya.MeshRenderer).sharedMaterial = mat1; //指定纹理为摄像机的渲染目标 mat1.albedoTexture = this.renderTargetCamera.renderTarget; 在LayaAir引擎中,渲染顺序renderingOrder越小,渲染优先度越高。 运行效果如动...

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