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

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

21. 材质-BlinnPhong-法线贴图 [ 94%]

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

22. 自定义shader-边缘光照shader [ 94%]

...ctor3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.direction = new Laya.Vector3(1, -1, 0); var dude = scene.addChild(Laya.Sprite3D.load("../../res/thre...

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

23. 拖动DirectionLight到场景里面,直接卡死编辑模式窗口。其他窗口正常 [ 94%]

拖动DirectionLight到场景里面,直接卡死编辑模式窗口。其他窗口正常 拖动DirectionLight到场景里面,直接卡死编辑模式窗口。其他窗口正常 附件 : --> 2018-10-25 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

24. discard property,please use transform's property instead [ 94%]

...ra.addComponent(CameraMoveScript);         //方向光         var directionLight = scene.addChild(new Laya.DirectionLight());         directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6);         directionLight.direction = new Laya.Vector3(0, -1.0, -1.0);         //灯光开...

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

25. Laya.DirectionLight() 问题, [ 94%]

Laya.DirectionLight() 问题, 在舞台上,前后放两个物体,如何才能让一个物体被光照,另一个物体不被光照。(光照方向延两个物体方向)。 2019-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

26. 2.1版本shader里的u_DirectionLight.Direction在2.6中对应成了什么东西? [ 93%]

2.1版本shader里的u_DirectionLight.Direction在2.6中对应成了什么东西? 我现在有个2.1的shader ,里面用到了u_DirectionLight.Direction 我想知道在2.6中是怎样取得平行光方向的   2020-08-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

27. laya默认模型的阴影没有渲染 [ 93%]

...(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.8, 0.8, 0.8); directionLight.direction = new Laya.Vector3(-1, -1, 2); //灯光开启阴影 directionLight.shadow = true; //...

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

28. laya.d3.core.light.DirectionLight [ 93%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames DirectionLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类...

来源: laya_api 发布时间: 20170929

29. laya.d3.core.light.DirectionLight [ 92%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames DirectionLightProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D Node EventDispatcher Object DirectionLight 类用于创建平行光。 Pub...

来源: Laya2.0_api 发布时间: 20190513

30. 请问我导入3d模型一直找不到它 [ 92%]

...角度不对的原因  菜鸟注意 ts 1.4  添加一盏灯光     var directionLight =scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight;             directionLight.ambientColor = new Laya.Vector3(0.7, 0.6, 0.6);             directionLight.specularColor = new Lay...

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