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

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

1. 材质-BlinnPhong材质加载 [ 100%]

...d("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/Materials/T_Diffuse.lmat"); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); Laya.timer.frameLoop(1, this, function () { layaMonkey.trans...

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

2. 高级应用-实时阴影 [ 87%]

...d("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/Materials/T_Diffuse.lmat"); staticLayaMonkey.transform.position = new Laya.Vector3(0, 0, -0.5); staticLayaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); staticLayaMonkey.transform.rotation = new Laya.Quaternion(0.7071068,...

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

3. 自定义shader-边缘光照shader [ 80%]

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

4. 自定义shader-地形shader [ 45%]

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