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

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

31. Laya2.3.0 阴影BUG [ 82%]

...现,如下。反之是可以出现阴影的。(目前仅限2.3.0) //灯光开启阴影 directionLight.shadow = true this.addChild(directionLight)2.可产生阴影的物体穿过平面,会在反向出现阴影,如图   // 穿过产生阴影   3.物体不能同时产生和接受阴影,...

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

32. 2D方向光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 82%]

...向光 Author: Charley、孟星煜 在阅读本文档前,请先阅读2D灯光的基类文档《2D灯光与网格》。 2D方向光(DirectionLight2D)在游戏开发中用于模拟来自特定方向的平行光源,常用于表现阳光或月光等大范围均匀照射的光线效果。它能...

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

33. 3D动态阴影 [ 82%]

...容,最好和静态内容分开,以便只缓存静态内容的理解 3D灯光阴影无效 我想动态改自定义shader里的值,应该怎么写?? 2.6版本阴影在浏览器正常,在真机上直接没了?求解答 想问一下Laya2.6.0版本是否不支持半透明和透明的shader...

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

34. 高级应用-实时阴影 [ 81%]

....Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); //灯光开启阴影 directionLight.shadow = true; //可见阴影距离 directionLight.shadowDistance = 3; //生成阴影贴图尺寸 directionLight.shadowResolution = 2048; //生成阴影贴图数量 directionLight.shadowPSSMC...

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

35. laya.d3.core.light.AreaLightCom_API3.0 [ 81%]

...t/AreaLightCom" AreaLightCom Class AreaLightCom LightSprite 类用于创建灯光的父类。 Hierarchy Light AreaLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightma...

来源: Laya3.0_api 发布时间: 20231115

36. laya.d3.core.light.PointLightCom_API3.0 [ 81%]

...Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in l...

来源: Laya3.0_api 发布时间: 20231115

37. 动态阴影怎么调整浓度,默认的太黑了!~~~~~ [ 81%]

...ChildAt(0) as Laya.MeshSprite3D).meshRender.castShadow = true; 我添加的灯光,然后在地表上设置接受阴影,然后在把模型的设置成产生阴影 2017-09-12 0 0 分享 微博 QZONE 微信 ebaww 赞同来自: directionLight.ambientColor = new Laya.Vector3(0.7, 0.6, 0.6);  把环...

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

38. 3D的动态阴影有代码demo吗? [ 81%]

...功能还在内测和性能优化中。 可以自行设置以下参数 //灯光开启阴影 directionLight.shadow = true; //可见阴影距离 directionLight.shadowDistance = 3; //生成阴影贴图尺寸 directionLight.shadowResolution = 2048; //生成阴影贴图数量 directionLight.shadowPSSMCou...

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

39. 2.0Dialog窗口阴影会以为重新排序添加 [ 81%]

...n 文件,或者文件读取失败,请检查后重新编译。 3d 添加灯光 模型变的黑呼呼的 很多黑面 lh文件内meshSprite添加阴影属性无效 unity导出的场景不显示实时阴影 为什么给Sprite容器添加点击事件没反应 图片添加点击事件 有的不生效...

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

40. laya.d3.core.light.SpotLightCom_API3.0 [ 81%]

...Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in l...

来源: Laya3.0_api 发布时间: 20231115