大约有 458 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya_社区(258) Laya3.0_api(91) Laya2.0_文档(60) Laya_示例(22) Laya3.0_文档(10) Laya2.0_api(10) laya_api(7)
...a.BlinnPhongMaterial; //添加漫反射贴图 Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); //平面加载 let plane = this.scene.add...
来源: Laya_社区 发布时间: 20201127
...行光产生的投影,如何修改颜色深浅? Texture如何转换成Texture2D有人搞过吗 layabox中纹理的颜色采样问题,用原生combobox也有这个问题 背景音乐播放BUG,销毁异常导致的播放异常,里面有修改方案 WebGL模式下,两个相同颜色图片的...
来源: Laya_社区 发布时间: 20200423
...ntColor无效 material = new StandardMaterial(); material.diffuseTexture = Texture2D.load("res/earth.png"); material.ambientColor=new Vector(2,2,2); sphere.meshRender.material = material; 我照教程里设置了环境颜色 material.ambientColor=new Vector(2,2,2); 但是无效,模型并没有加...
来源: Laya_社区 发布时间: 20180531
...示成一团模糊的彩色像素? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 微信小游戏绘制开放域内容,字体模糊是什么原因? 遮罩 模糊 怎样让烘焙好光照贴图的场景导入后不受灯光影响? unity...
来源: Laya_社区 发布时间: 20190327
...折叠 要回复问题请先登录 发起人 吴金林 相关问题 请问Texture2D如何用base64字符串构建对象 关于代码加密的问题 关于typescripts封装MD5类加密登录密码的问题 用LayaResourceEncryption加密后怎么加载图片??? laya有没有JS混淆加密功能...
来源: Laya_社区 发布时间: 20180604
...ite可以解决我之前的BUG,,,可是出现了新BUG Laya["Texture2D"]这里的判断false了。。。 谁知道咋回事?? 附件 : --> 2018-11-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...
来源: Laya_社区 发布时间: 20181126
...Unlit材质 var material2 = new Laya.UnlitMaterial(); //加载纹理 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1...
来源: Laya2.0_文档 发布时间: 20210714
...Unlit材质 var material2 = new Laya.UnlitMaterial(); //加载纹理 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture){ //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1)...
来源: Laya2.0_文档 发布时间: 20210715
...材质 var material = new Laya.EffectMaterial(); //加载地球贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210714
...材质 var material = new Laya.EffectMaterial(); //加载地球贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` (图12)
来源: Laya2.0_文档 发布时间: 20210714