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

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

21. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 37%]

...Laya.Texture2D.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/diffuse.png", Laya.Handler.create(this, function(texture) { //设置多描边材质的贴图 customMaterial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 ...

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

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

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

23. 自定义shader-地形shader [ 34%]

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

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

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

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

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

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

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

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