大约有 51 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0064 秒)
...mory(M_DeviceBuffer)5.10 Device Buffer Count(C_DeviceBuffer)6. GPU Texture Resource/Memory(GPU 纹理资源/内存)6.1 All Texture Memory(M_AllTexture)6.2 All Texture Count(C_AllTexture)6.3 Texture2D Memory(M_Texture2D)6.4 Texture2D Count(C_Texture2D)6.5 TextureCube Memor...
来源: Laya3.0_文档 发布时间: 20260128
... pbrStandardMaterial = new PBRStandardMaterial(); //获取新的纹理 pbrTexture = Loader.getRes("res/threeDimen/texture/earth.png") as Texture2D; //为PBRStandard材质设置漫反射贴图 pbrStandardMaterial.albedoTexture = pbrTexture; //修改导出球的材质 sphere.meshRenderer.material = pb...
来源: Laya2.0_文档 发布时间: 20210715
...ardMaterial = new Laya.PBRStandardMaterial(); //获取新的纹理 this.pbrTexture = Laya.Loader.getRes("res/threeDimen/texture/earth.png") as Laya.Texture2D; //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere....
来源: Laya2.0_文档 发布时间: 20210715
...1, 0, 0] }, u_AlbedoColor: { type: Color, default: [1, 1, 1, 1] }, u_AlbedoTexture: { type: Texture2D, options: { define: "ALBEDOTEXTURE" } }, u_NormalTexture: { type: Texture2D, options: { define: "NORMALTEXTURE" } }, u_NormalScale: { type: Float, default: 1.0, range: [0.0, 2.0] }, u_Metallic: { ty...
来源: Laya3.0_文档 发布时间: 20251010
...//创建漫反射二维纹理贴图 material.albedoTexture = Laya.Texture2D.load(PathConst.material + name + ".png"); material.renderMode = Laya.BlinnPhongMaterial.RENDERMODE_OPAQUE; //为box模型赋材质 ...
来源: Laya_社区 发布时间: 20180519
... 我要copy一个出来 Laya_Aaron • 2018-01-08 15:35 试试grapic darw texture
来源: Laya_社区 发布时间: 20180108
...al: SkyPanoramicMaterial = new SkyPanoramicMaterial(); Texture2D.load("res/jfb.jpg", Handler.create(null, function (tex: Texture2D) { material.panoramicTexture = tex; skymat.material = material; })); 2020-03...
来源: Laya_社区 发布时间: 20200319
...材质类型。 分类 材质 Build in 管线 Standard 材质 Ulit Color/Texture/Cut Out/ Transparent 材质 URP 管线 URP Lit材质 URP Ulit材质 天空盒 Procedural 程序化天空盒 6 Sideed Panoramic 全景图 旧版着色器(只做兼容考虑, 不建议) Diffuse Fast Diffuse Diffuse De...
来源: Laya3.0_文档 发布时间: 20251010
...数据要更少,所以这种天空的性能要更好一些。 Panoramic Texture:天空盒的纹理贴图(一张球形模型对应的贴图) 2.1.1 立方体天空 立方体天空盒用到的6张可以无缝相接的贴图参考,图2-5所示 (图2-5) 2.1.2 球形天空 是一个球形模...
来源: Laya3.0_文档 发布时间: 20251010
...ardMaterial = new Laya.PBRStandardMaterial(); //获取新的纹理 this.pbrTexture = Laya.Loader.getRes("res/threeDimen/texture/earth.png"); //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere.meshRenderer.mater...
来源: Laya2.0_文档 发布时间: 20210715