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

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

1. blinnphong材质关闭Lighting无效。导入laya还是受灯光影响 [ 100%]

blinnphong材质关闭Lighting无效。导入laya还是受灯光影响 附件 : --> 1.jpg 2.jpg 3.jpg 2021-11-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_zhang 赞同来自: blinnhong的Lighting属性...

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

2. u3d修改材质blinnphong报错 [ 83%]

u3d修改材质blinnphong报错 2.6.1  shader替换为blinnphong就报空指针  lighting为null 附件 : --> New_Unity_Project.rar 2020-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠...

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

3. 新的laya 3D插件在unity 中出现bug,求解决 [ 75%]

...别:如图 不用laya的这个材质就正常了, 可是我需要这个BlinnPhong,其他所有选择了BlinnPhong的材质也是都不识别了, 尝试中重新导入了laya的插件,重启,依旧不识别,不知道问题出在了哪里,unity的项目文件没动过,这两天都没...

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

4. 材质-BlinnPhong-漫反射贴图 [ 68%]

....transform.position = new Laya.Vector3(0.6, 0, 0); var material = new Laya.BlinnPhongMaterial(); //漫反射贴图 material.albedoTexture = Laya.Texture2D.load("../../res/threeDimen/texture/earth.png"); earth2.meshRender.material = material; Laya.timer.frameLoop(1, this, function () { earth1.transfo...

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

5. 材质-BlinnPhong-反射贴图 [ 67%]

...rotation, false); teapot2.transform.rotate(this.rotation, false); });class BlinnPhong_ReflectMap { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya...

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

6. 材质-BlinnPhong-高光贴图 [ 66%]

...m.rotate(this.rotation); dude2.transform.rotate(this.rotation); }); }class BlinnPhong_SpecularMap { private scene:Laya.Scene; private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); private specularMapUrl:any = ["../../res/threeDimen/skinModel/dude/Assets/dude/headS.png", "../../res/threeDimen...

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

7. 材质-BlinnPhong-法线贴图 [ 66%]

...otate(this.rotation); monster2.transform.rotate(this.rotation); }); }class BlinnPhong_NormalMap { private scene:Laya.Scene; private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); private normalMapUrl:any = ["../../res/threeDimen/staticModel/lizardCal/rock_norm.png", "../../res/threeDimen/stat...

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

8. 材质-BlinnPhong材质加载 [ 66%]

... function () { layaMonkey.transform.rotate(this.rotation, false); });class BlinnPhongMaterialLoad { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Lay...

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

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

...rPass(vs, ps, stateMap = null, pipelineMode = "Forward") ``` **以引擎的BlinnPhongMaterial的Shader"BLINNPHONG"进行说明:** ```typescript //引入Shader需要使用的其他库文件 Shader3D.addInclude("Lighting.glsl", LightingGLSL); Shader3D.addInclude("ShadowSampleTent.glsl", ShadowSample...

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

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

...ateMap: object = null, pipelineMode: string = "Forward") ``` **以引擎的BlinnPhongMaterial的Shader"BLINNPHONG"进行说明:** ```typescript //引入Shader需要使用的其他库文件 Shader3D.addInclude("Lighting.glsl", LightingGLSL); Shader3D.addInclude("ShadowSampleTent.glsl", ShadowSample...

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