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

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

51. 高级应用-闪光 [ 63%]

...tterTemplet = glitter.templet; var glitterMaterial = glitter.glitterRender.sharedMaterial; glitterMaterial.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/layabox.png"); glitterMaterial.albedo = new Laya.Vector4(1.3, 1.3, 1.3, 1); glitterTemplet.lifeTime = 1.3; glitterTemplet.minSegmentDi...

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

52. 3d场景灯光 怎么设置模型不接受灯光的影响 [ 61%]

...183*****755 赞同来自: var mat:StandardMaterial = meshSprite.meshRender.sharedMaterial; mat.disableLight();  设置材质禁用光源 2017-07-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wlj944973412 相关问题 2.0一不小心...

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

53. 什么情况下transformUV能让材质贴图重复 ? [ 61%]

...r2.0 从u3d到处材质动画无法播放 为什么无法使用 meshRender.sharedMaterials 设置材质 如何让material 材质 实现渐变色 问题状态 最新活动: 2018-01-21 11:12 浏览: 896 关注: 2 人 zszen • 2018-01-22 10:40 768x512也是2的幂次方 六个数字每个数字为256x...

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

54. 自定义shader-地形shader [ 60%]

....8056641, 0.8056641, 0.001573598, -6.878261E-11)); meshSprite3D.meshRender.sharedMaterial = customMaterial; } for (var i = 0, n = spirit3D._childs.length; i < n; i++) setCustomMaterial(spirit3D._childs[i]); } function initShader() { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION...

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

55. [0]Laya3.0.3 的VideoNode不支持在微信浏览器中播放 [ 60%]

...dByName('Scene3D').getChildByName('Plane').getComponent(Laya.MeshRenderer).sharedMaterial = mat; // 上面代码在3D场景中播放则无任何问题,包括微信浏览器,出问题的是在2D场景中在微信浏览器不能播放视频   // 附件三张图片分别是 Laya编辑器界面 - ...

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

56. 关联shader的uniform(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 59%]

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

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

57. 关联shader的uniform(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 59%]

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

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

58. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 59%]

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

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

59. 获取lh动画控制失败【已解决】 [ 52%]

...                "skyBox":{                     "sharedMaterial":{}                 }             },             "components":{},             "child":         },         {             "type":"DirectionLight",    ...

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

60. ShaderPass介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 52%]

...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ![](img/1.gif) ### 2. stateMap 在 `subShader` 添加通道时,除...

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