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

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

1. 创建材质(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 100%]

...的纹理、质感等。在渲染时,该模型将默认使用一个没有设置贴图且漫反射颜色为白色的BlinnPhong材质,所以在未设置材质的情况下模型呈白色。 在“快速开启3D之旅”课程的代码中,我们创建使用了标准材质,并在漫反射贴图...

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

2. 创建材质(JavaScript-3D基础(JS)-LayaAir3D之Material材质) [ 99%]

...的纹理、质感等。在渲染时,该模型将默认使用一个没有设置贴图且漫反射颜色为白色的BlinnPhong材质,所以在未设置材质的情况下模型呈白色。 在“快速开启3D之旅”课程的代码中,我们创建使用了标准材质,并在漫反射贴图...

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

3. 创建材质(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 99%]

...的纹理、质感等。在渲染时,该模型将默认使用一个没有设置贴图且漫反射颜色为白色的BlinnPhong材质,所以在未设置材质的情况下模型呈白色。 在“快速开启3D之旅”课程的代码中,我们创建使用了标准材质,并在漫反射贴图...

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

4. 材质的功能介绍(JavaScript-3D基础(JS)-LayaAir3D之Material材质) [ 99%]

...a.Loader.getRes("res/threeDimen/texture/earth.png"); //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere.meshRenderer.material = this.pbrStandardMaterial; ``` ![](img/5.png)(图5) ### 3.是否能接受阴影 阴...

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

5. 材质的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 98%]

...es("res/threeDimen/texture/earth.png") as Texture2D; //为PBRStandard材质设置漫反射贴图 pbrStandardMaterial.albedoTexture = pbrTexture; //修改导出球的材质 sphere.meshRenderer.material = pbrStandardMaterial; ``` ![](img/5.png)(图5) ### 3.是否能接受阴影 阴影在前面的 **...

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

6. 材质的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 98%]

...es/threeDimen/texture/earth.png") as Laya.Texture2D; //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere.meshRenderer.material = this.pbrStandardMaterial; ``` ![](img/5.png)(图5) ### 3.是否能接受阴影 阴...

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

7. Effect材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 96%]

...与方法 > 属性 `color:Vector4` 颜色。 `renderMode:int` [write-only] 设置渲染模式。 `texture:BaseTexture` 贴图。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 创建和使用Effect材质 下面代码来自官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?languag...

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

8. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 96%]

... `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0到1。 `specularColor:Vector4` 高光颜色。 `specularTexture:BaseTexture`高光贴图。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 场景一键转...

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

9. Effect材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 95%]

...与方法 > 属性 `color:Vector4` 颜色。 `renderMode:int` [write-only] 设置渲染模式。 `texture:BaseTexture` 贴图。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 创建和使用Effect材质 下面代码来自官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?languag...

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

10. Effect材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 95%]

...与方法 > 属性 `color:Vector4` 颜色。 `renderMode:int` [write-only] 设置渲染模式。 `texture:BaseTexture` 贴图。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 创建和使用Effect材质 下面代码来自官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?languag...

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