大约有 51 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0037 秒)
...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
...所以我想手动控制场景的亮度 ,尝试过调环境光, level.ambientColor = new Laya.Vector3(1,1,1); 但没用。 上面你说的调漫反射,我记得漫反射是在有实时光的条件下才有用,而我的问题环境是没有实时光,请问这个要怎么解决? 2017-1...
来源: Laya_社区 发布时间: 20171130
...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
...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
...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
...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
...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
...: 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
...: 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
...: 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