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

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

161. Resources already exist,is repeated loading 加载特效报重复加载 [ 40%]

...                //添加光照         var directionLight= new Laya.DirectionLight();         this.scene.addChild(directionLight);         directionLight.color = new Laya.Vector3(1, 1, 1);         directionLight.transform.rotate(new Laya.Vector3( -3.14 / ...

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

162. 照相机-多照相机 [ 40%]

...hreeDimen/skyBox/skyBox2/skyCube.ltc"); camera2.sky = skyBox; var directionLight = scene.addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class MultiCamera { constructor() { Laya3D.init(0, 0, true); La...

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

163. unity 带出报错~ArgumentException: Invalid path [ 39%]

...(at <599589bf4ce248909b8a14cbe4a2034e>:0) LayaExport.DataManager.saveLightMapFile (JSONObject customProps) (at <460acbcca8964c0cac25035c85643194>:0) LayaExport.DataManager.getSceneNode () (at <460acbcca8964c0cac25035c85643194>:0) LayaExport.DataManager.saveData () (at <460acbcca...

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

164. 材质-BlinnPhong材质加载 [ 39%]

...a.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 layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mes...

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

165. 我想问下,在Laya3D中,如果我想改变场景的亮度要怎么处理?我没有开启光照,想通过修改shader的方式把场景调亮,但是不知道Laya场景的Shader使用的是哪个?在哪个位置?要如何处理? [ 39%]

...kx • 2017-11-30 11:00 前提是我没有开启光照哦,我把场景的light enable = false 了,调漫反射还有用吗? ymsdandan • 2017-11-30 11:16 @Faith_mkx:如果没有开启光照的话,那你可以调试环境光 Faith_mkx • 2017-11-30 10:30 你好,这连接打开了 没内...

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

166. 没有人尝试使用3d物理引擎么 [ 39%]

...laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.RandX; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureC...

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

167. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 38%]

... should check the texture file format add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一句代码都会出现这个问题 Swift中接入其他都正常,但是在你们的conchConfig中,报错'string' file not found 微信游戏多次加载出现:copyFile:fai...

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

168. LayaAir3D 导出和使用U3D粒子特效 [ 38%]

...imation -> Enabled UV Channels -> Nothing, Everything, UV1, UV2, UV3 Lights Trails 2016-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 9 个回复 cuixueying 赞同来自: wangchuanjin 谢谢! 2016-12-19 1 1 分...

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

169. 灯光-方向光 [ 38%]

...e, false); camera.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); var grid = scene.addChild(Laya.Sprite3D.load("../../res/th...

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

170. 照相机-正交相机 [ 38%]

...影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; var directionLight = scene.addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () {...

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