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

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

31. 自定义shader-边缘光照shader [ 84%]

...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_示例 发布时间: 20251130

32. uniformMap表格(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 84%]

...除) | 变量名 | 描述 | | -------------------------- | ------ | | u_DirectionLight.color | 平行光的颜色 | | u_DirectionLight.direction | 平行光的方向 | | u_DirationLightCount | 平行光的数量 | > 点光相关(老版本,逐步会去除) | 变量名 | 描述 | | -----------...

来源: Laya2.0_文档 发布时间: 20210715

33. uniformMap表格(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 84%]

...除) | 变量名 | 描述 | | -------------------------- | ------ | | u_DirectionLight.color | 平行光的颜色 | | u_DirectionLight.direction | 平行光的方向 | | u_DirationLightCount | 平行光的数量 | > 点光相关(老版本,逐步会去除) | 变量名 | 描述 | | -----------...

来源: Laya2.0_文档 发布时间: 20210715

34. uniformMap表格(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 84%]

...除) | 变量名 | 描述 | | -------------------------- | ------ | | u_DirectionLight.color | 平行光的颜色 | | u_DirectionLight.direction | 平行光的方向 | | u_DirationLightCount | 平行光的数量 | > 点光相关(老版本,逐步会去除) | 变量名 | 描述 | | -----------...

来源: Laya2.0_文档 发布时间: 20210715

35. 【初学者】导入模型进行旋转结果出现问题 [ 84%]

...(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, 0); //添加...

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

36. laya3d导入模型动画,添加光照之后,模型全黑。 [ 83%]

...光的情况下去增加点光源去布光应该就好了 //方向光 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(1, 1, 1); directionLight.direction = new Vector3(0, -1.0, -1.0); 如果还是达不到你想要的效...

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

37. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 83%]

...)); 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 layaMonkey = scene.addChild(new La...

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

38. 3D灯光与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 83%]

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

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

39. unity里导出的骨骼动画无法读取 [ 82%]

...          //添加方向光                 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight;                 directionLight.color = new Vector3(0.6, 0.6, 0.6);                 directionLight.directio...

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

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

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

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