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

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

11. 自定义shader-边缘光照shader [ 62%]

...nction () { var customMaterial1 = new CustomMaterial(); customMaterial1.setDiffuseTexture(Laya.Texture2D.load("../../res/threeDimen/skinModel/dude/Assets/dude/head.png")); customMaterial1.setMarginalColor(new Laya.Vector3(1, 0.7, 0)); var customMaterial2 = new CustomMaterial(); customMaterial2.setDi...

来源: Laya_示例 发布时间: 20241001

12. 自定义shader-地形shader [ 62%]

...ts/Scenes/Level/XunLongShi/Lightmap-0_comp_light.png")); customMaterial.setDiffuseTexture1(Laya.Texture2D.load("../../res/threeDimen/scene/terrain/terrain/ground_01.jpg")); customMaterial.setDiffuseTexture2(Laya.Texture2D.load("../../res/threeDimen/scene/terrain/terrain/ground_02.jpg")); customMater...

来源: Laya_示例 发布时间: 20241001

13. 3D场景环境设置 · LayaAir3.0文档 · LAYABOX [ 46%]

...,但是烘焙速度越慢。默认:6 Bounce:光线反弹次数 ​ Diffuse bounce:漫反射光线反弹次数。默认:4 ​ Transmission bounce:透射光线反弹次数。默认:12 ​ Glossy bounce:玻璃反弹次数。默认:4 ​ Total bounce:反弹次数。默认:3 Sample_...

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

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

...Laya.Texture2D.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/diffuse.png", Laya.Handler.create(this, function(texture) { customMaterial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, fun...

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

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

...Laya.Texture2D.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/diffuse.png", Laya.Handler.create(this, function(texture) { customMaterial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, fun...

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

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

...Laya.Texture2D.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/diffuse.png", Laya.Handler.create(this, function(texture) { customMaterial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, fun...

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