大约有 95 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...。例如,木头与金属、玻璃与毛发,从粗糙度、光泽度、反射、透明、颜色、纹理等等方面,不同的材料质感会明显不同。 根据这些物体的差异,我们可以将材质划分为很多种类,LayaAir引擎支持的材质分类为模型材质、天空材...
来源: Laya2.0_文档 发布时间: 20210714
... Inherited Public Properties PropertyDefined By albedo : Vector4 设置反射率。 StandardMaterial alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3 设置环境光颜色。 Standar...
来源: laya_api 发布时间: 20170929
...三、环境光3.1 组件属性3.2 固定颜色3.3 球谐光照四、环境反射4.1 组件属性4.2 天空盒作为反射源4.3 自定义反射源作为反射源4.3 IBL介绍五、场景雾5.1 组件属性5.2 代码使用六、光照贴图6.1 组件属性6.2 创建光照设置文件6.3 属性详解...
来源: Laya3.0_文档 发布时间: 20251010
...hRender.material; material.albedo = new Vector4(3.5,3.5,3.5,1.0);//修改反射率 material.renderMode = 3;//修改渲染模式 material.diffuseTexture = Texture2D.load("xxx.png");//修改漫反射贴图 这些属性都是我随便写的通用的,更多的请参考,laya.d3.core.material.Standa...
来源: Laya_社区 发布时间: 20170616
...rited Public Properties PropertyDefined By albedoColor : Vector4 获取反射率颜色。 PBRSpecularMaterial albedoColorA : Number 获取反射率颜色A分量。 PBRSpecularMaterial albedoColorB : Number 获取反射率颜色B分量。 PBRSpecularMaterial albedoColorG : Number 获取...
来源: Laya2.0_api 发布时间: 20190513
...光方向 light.direction = new Laya.Vector3(0.3, -1, 0); //设置灯光漫反射颜色 light.diffuseColor = new Laya.Vector3(1, 0, 0); //设置灯光高光色 // light.specularColor = new Laya.Vector3(0, 0.5, 0.5); //添加灯光投影 light.shadow=true; //产生投影的范围(如过小将不会...
来源: Laya_社区 发布时间: 20180307
...ingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源。 `blendDst:int` 混合目标。 `depthTest:int` 深度测试方式。 #### 效果预...
来源: Laya2.0_文档 发布时间: 20210715
...ingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源。 `blendDst:int` 混合目标。 `depthTest:int` 深度测试方式。 #### 效果预...
来源: Laya2.0_文档 发布时间: 20210714
...ingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源。 `blendDst:int` 混合目标。 `depthTest:int` 深度测试方式。 #### 效果预...
来源: Laya2.0_文档 发布时间: 20210714
...ingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源。 `blendDst:int` 混合目标。 `depthTest:int` 深度测试方式。 #### 效果预...
来源: Laya2.0_文档 发布时间: 20210714