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

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

1. 请问3D平行光产生的投影 如何修改颜色深浅 [ 100%]

...       //添加方向光 this.Light = this.mainscene.addChild(new Laya.DirectionLight()); this.Light.color = new Laya.Vector3(0.7, 0.7, 0.7); this.Light.direction = new Laya.Vector3(-1.3, -1.5, -1.6); // shadow this.Light.shadow = true; //产生投影的范围(如过小将不会产生投影) ...

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

2. 新的laya 3D插件在unity 中出现bug,求解决 [ 87%]

...udes/LayaBlinnPhongFA.cginc(104) (on glcore) Compiling Vertex program with DIRECTIONAL SHADOWS_SCREEN DisableLighting LIGHTMAP_OFF Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDIN...

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

3. Unity导出插件Shader报错。 [ 81%]

...ludes/LayaBlinnPhongFA.cginc(104) (on d3d11) Compiling Vertex program with DIRECTIONAL SHADOWS_SCREEN LIGHTMAP_ON DisableLighting Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING...

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

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

....Vector3(0,0,0),new Laya.Vector3(0,1,0)); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //移动灯光位置 light.transform.translate(new Laya.Vector3(-5,10,-5)); //设置灯光方向 light.direction = new Laya.Vector3(1, -1, 1);...

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

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

...w Laya.Vector3( -30, 0, 0), true, false); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //移动灯光位置 light.transform.translate(new Laya.Vector3(0,5,0)); //设置灯光方向 light.direction = new Laya.Vector3(0.3, -1, 0); ...

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

6. 设置雾化导致unity卡死 [ 71%]

...cginc(196) (on d3d11) Compiling Vertex program with UNITY_PASS_FORWARDBASE DIRECTIONAL LIGHTPROBE_SH FOG_LINEAR Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETA...

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

7. PBR标准材质实时阴影渲染问题 [ 68%]

...addComponent(ModelViewer); modelViewer.AroundPos = Laya.Vector3._ZERO; var directionLight = (scene_360 as Laya.Node).getChildByName('Directional light') as Laya.DirectionLight; //灯光开启阴影 directionLight.shadow = true; //可见阴影距离 directionLight.shadowDistance = 20; directionLight....

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

8. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 17%]

...覆盖原始导出文件                  Customize Export Root Directory Name     自定义导出文件夹名称                  Automatically Save The Configuration       导出时自动保存当前配置          Browse                 选择导出目录    ...

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