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

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

1. 高级应用-闪光 [ 100%]

....1; glitterTemplet.minInterpDistance = 0.6; glitterTemplet.maxSlerpCount = 128; glitterTemplet.maxSegments = 600; var pos1 = new Laya.Vector3(0, 0, -0.5); var pos2 = new Laya.Vector3(0, 0, 0.5); var scaleDelta = 0; var scaleValue = 0; Laya.timer.frameLoop(1, this, loop); function loop() { scaleValue...

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

2. 自定义shader-边缘光照shader [ 87%]

... var earth = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.5, 128, 128))); var customMaterial = new CustomMaterial(); customMaterial.setDiffuseTexture(Laya.Texture2D.load("../../res/threeDimen/texture/earth.png")); customMaterial.setMarginalColor(new Laya.Vector3(0.0, 0.3, 1.0)); earth....

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