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

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

31. Laya3d场景在部分andriod设备微信小游戏出现场景加载错误问题 [ 54%]

...go __invokeHandler__ VM59:164 Error: not node js file system!path:res/base/Directional Light.lh; go __invokeHandler__   附件 : --> 2020-06-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 173*****655 赞同来...

来源: Laya_社区 发布时间: 20200623

32. 材质-BlinnPhong-漫反射贴图 [ 53%]

...0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya...

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

33. PBR标准材质实时阴影渲染问题 [ 53%]

...addComponent(ModelViewer); modelViewer.AroundPos = Laya.Vector3._ZERO; var directionLight = (scene_360 as Laya.Node).getChildByName('Directional light') as Laya.DirectionLight; //灯光开启阴影 directionLight.shadow = true; //可见阴影距离 directionLight.shadowDistance = 20; directionLight....

来源: Laya_社区 发布时间: 20190813

34. 3D灯光与阴影 · LayaAir3.0文档 · LAYABOX [ 52%]

...PointLight2.1 创建点光源2.2 组件属性2.3 使用代码设置三、DirectionLight3.1 创建平行光3.2 组件属性3.3 使用代码设置四、SpotLight4.1 创建聚光4.2 组件属性4.3 使用代码设置五、AreaLight5.1 创建区域光5.2 组件属性六、如何为灯光添加阴影七...

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

35. 3D基础显示对象 · LayaAir3.0文档 · LAYABOX [ 52%]

...图2-4) 阴影除了设置3D基础对象的MeshRenderer,还需要保证Direction Light的Shadow Mode不为None。 2.4 添加组件 每个3D基础对象,都可以添加组件来实现高级的功能,通过对立方体添加3D物理组件 Rigidbody3D ,勾选重力属性,最后添加碰撞...

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

36. 动画-新版骨骼动画 [ 51%]

...)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../....

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

37. Mesh网格-自定义网格 [ 51%]

...)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSpri...

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

38. 材质-BlinnPhong-反射贴图 [ 51%]

...0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var textureCube = Laya.TextureCube.load("../../res/threeD...

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

39. 材质-BlinnPhong-高光贴图 [ 51%]

...ctor3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = this.scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var completeHandler = Laya.Handler.create(this, onCo...

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

40. 材质-BlinnPhong-法线贴图 [ 50%]

...)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var directionLight = this.scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); Laya.loader.create("../../res/threeDimen/staticModel...

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