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

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

41. 反射探针 · LayaAir3.4 · 引擎文档 · LAYABOX [ 51%]

...eflection Probe组件 图1-3 在Reflection Probe组件选择适合的采样等级采样大小,点击Bake按钮就可以开始反射探针的烘焙 图1-4 2.反射探针的属性 2.1 Ambient Mode 环境光模式有两种,一种是球谐模式一种是纯色模式 图2-1 球谐模式 通过球谐...

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

42. vivo小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 51%]

...在官网支持的最小平台版本号可以点击这里查看。 日志等级 七种日志等级,先级从高到底依次为OFF、ERROR、WARN、INFO、LOG、DEBUG、TRACE,可以方便地知道当前程序的运行状态。 是否使用正式版签名 如果只是测试版本调试,这里可...

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

43. 关于平行光渲染投影问题,求解惑 [ 49%]

...istance=100; //生成阴影贴图数量 light.shadowPSSMCount = 1; //模糊等级,越大越高,效果更好,更耗性能 light.shadowPCFType=10; //投影质量 light.shadowResolution=2048; //创建盒子模型 let box:Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(5,5,1....

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

44. 3D阴影无法渲染出来 [ 49%]

...48; //生成阴影贴图数量 directionLight.shadowPSSMCount = 1; //模糊等级,越大越高,更耗性能 directionLight.shadowPCFType = 1; //添加自定义模型 // //创建模型显示对象 var sphere3D=new Laya.MeshSprite3D(new Laya.SphereMesh(1, 32, 32)); sphere3D.transform.translate(new Lay...

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

45. discard property,please use transform's property instead [ 48%]

...数量         directionLight.shadowPSSMCount = 1;         //模糊等级,越大越高,更耗性能         directionLight.shadowPCFType = 3;         Laya.loader.create([             "res/plane.lh",             "res/LayaMonkey.lh"         ], Laya.Handler.create(this, ...

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

46. laya.d3.resource.TextureCube [ 48%]

...erited Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture  defaulteTexture : BaseTexture[override] [read-only] 获取默认纹理资源。 TextureCube filterMode : int 缩小过滤器 BaseTexture format : int[read-only] 纹理格式 BaseTexture  grayTexture ...

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

47. 官方LayaAir之灯光一节示例背景在微信里表现不一致 [ 47%]

...Distance=45; //生成阴影贴图数量 light.shadowPSSMCount = 1; //模糊等级,越大越高,效果更好,更耗性能 light.shadowPCFType=1; //投影质量 light.shadowResolution=2048; //创建盒子模型 var box:Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1.5,1.5...

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

48. laya.d3.resource.RenderTexture [ 45%]

...erited Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture  currentActive : RenderTexture[static] [read-only] 获取当前激活的Rendertexture。 RenderTexture  defaulteTexture : BaseTexture[override] [read-only] 获取默认纹理资源。 RenderTexture  d...

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

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

...       directionLight.shadowPSSMCount = 1;         //模糊等级,越大越高,更耗性能         directionLight.shadowPCFType = 3;      //  批量预加载资源         // Laya.loader.create([         //  "res/threeDimen/staticModel/grid/plane.lh", ...

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

50. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 43%]

...ure.filterMode = Laya.BaseTexture.FILTERMODE_BILINEAR; //设置各向异性等级 texture.anisoLevel = 2; // texture.setCompressData(data); mater.albedoTexture = texture; //修改材质贴图的平铺和偏移 // var tilingOffset:Laya.Vector4 = mater.tilingOffset; // tilingOffset.setValue(2, 2, 0, 0...

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