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

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

41. Sprite3D-Sprite3D克隆 [ 40%]

...ONE; Stat.show(); scene = Laya.stage.addChild(new Scene()) as Scene; scene.ambientColor = new Vector3(1, 1, 1); var camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); La...

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

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

...所以我想手动控制场景的亮度 ,尝试过调环境光, level.ambientColor = new Laya.Vector3(1,1,1); 但没用。   上面你说的调漫反射,我记得漫反射是在有实时光的条件下才有用,而我的问题环境是没有实时光,请问这个要怎么解决? 2017-1...

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

43. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 40%]

...omMaterial", "props":{ "name":"zhousi", "renderMode":1 }, "customProps":{ "ambientColor":[ 0.6, 0.6, 0.6 ], "diffuseColor":[ 1, 1, 1 ], "specularColor":[ 1, 1, 1, 8 ], "reflectColor":[ 1, 1, 1, 1 ], "emissionColor":[ 0, 0, 0 ], "albedoColor":[ 1, 1, 1, 1 ], "diffuseTexture":{ "texture2D":"zhousi.png...

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

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

...ght=scene.addChild(new DirectionLight()) as DirectionLight; directionLight.ambientColor=new Vector3(0.6, 0.6, 0.6); directionLight.specularColor=new Vector3(0.6, 0.6, 0.6); directionLight.diffuseColor=new Vector3(1.6, 1.6, 1.6); directionLight.direction=new Vector3(1, -1, 0); //添加自定义模型...

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

45. Sprite3D-Sprite3D变换 [ 35%]

...ONE; Stat.show(); scene = Laya.stage.addChild(new Scene()) as Scene; scene.ambientColor = new Vector3(1, 1, 1); var camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); va...

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

46. 加载.lh文件 运行后黑屏 无法显示 [ 35%]

...addChild(new Laya.Scene3D()) as Laya.Scene3D;         //this.scene.ambientColor = new Laya.Vector3(1, 1, 1);         camera.transform.translate(new Laya.Vector3(0,0.8,1.5));         camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false);     //  var camera:L...

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

47. laya.d3.core.scene.Scene3D_API3.0 [ 33%]

...Accessors GIRotate _isHeightSet _isWidthSet active activeInHierarchy alpha ambientColor ambientIntensity ambientMode ambientSH anchorX anchorY blendMode cacheAs components cullInfoCamera cullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filt...

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

48. SubShader介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 31%]

...: Shader3D.PERIOD_SCENE, 'u_LightClusterBuffer': Shader3D.PERIOD_SCENE, 'u_AmbientColor': Shader3D.PERIOD_SCENE, 'u_ShadowBias': Shader3D.PERIOD_SCENE, 'u_ShadowLightDirection': Shader3D.PERIOD_SCENE, 'u_ShadowMap': Shader3D.PERIOD_SCENE, 'u_ShadowParams': Shader3D.PERIOD_SCENE, 'u_ShadowSplitSphere...

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

49. SubShader介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 30%]

...: Shader3D.PERIOD_SCENE, 'u_LightClusterBuffer': Shader3D.PERIOD_SCENE, 'u_AmbientColor': Shader3D.PERIOD_SCENE, 'u_ShadowBias': Shader3D.PERIOD_SCENE, 'u_ShadowLightDirection': Shader3D.PERIOD_SCENE, 'u_ShadowMap': Shader3D.PERIOD_SCENE, 'u_ShadowParams': Shader3D.PERIOD_SCENE, 'u_ShadowSplitSphere...

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

50. SubShader介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 30%]

...: Shader3D.PERIOD_SCENE, 'u_LightClusterBuffer': Shader3D.PERIOD_SCENE, 'u_AmbientColor': Shader3D.PERIOD_SCENE, 'u_ShadowBias': Shader3D.PERIOD_SCENE, 'u_ShadowLightDirection': Shader3D.PERIOD_SCENE, 'u_ShadowMap': Shader3D.PERIOD_SCENE, 'u_ShadowParams': Shader3D.PERIOD_SCENE, 'u_ShadowSplitSphere...

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