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

大约有 253 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)

11. 获取相机renderTexture 作为阴影 的UV [ 74%]

获取相机renderTexture 作为阴影 的UV 已知:使用正交相机生成阴影贴图,顶底着色器中a_Position, 有个plane接受相机生成的阴影,通过阴影相机计算矩阵乘a_Position获取阴影UV, 混合渲染在plane上   顶点着色器:  #if defined(_RECEIVESHA...

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

12. 求问TextureTexture2D的区别,和使用问题 [ 73%]

求问TextureTexture2D的区别,和使用问题 对用引擎中这两个类的分别不太清楚,有以下几个问题:1、TextureTexture2D有什么区别?我发现自己用Laya.loader.load的图片或ui加载的就是Texture,加载.ls/.lh自动生成的贴图就是Texture2D   2、...

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

13. Texture的getPixels()在Android下调用提示is not a function [ 72%]

Texture的getPixels()在Android下调用提示is not a function  layaAir调试 和 chrome调试 和 android下的字偏移都不一样。社区里一些帖子的回复是自己去做偏移调整。我尝试把fontSize从20~200的label,画到texture,然后去得到第一个像素值不为0...

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

14. 3D场景环境设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 72%]

...数据要更少,所以这种天空的性能要更好一些。 Panoramic Texture:天空盒的纹理贴图(一张球形模型对应的贴图) 2.1.1 立方体天空 立方体天空盒用到的6张可以无缝相接的贴图参考,图2-5所示 (图2-5) 2.1.2 球形天空 是一个球形模...

来源: Laya3.0_文档 发布时间: 20251010

15. 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function [ 71%]

关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 自己的问题 2019-05-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 截图和代码...

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

16. laya阴影问题 [ 70%]

...veShadow = true; }else{ var unlitMat = new Laya.PBRStandardMaterial(); var texture: Laya.Texture2D = Laya.loader.getRes("Reference/cardtest.png"); unlitMat.albedoTexture = texture; cardOne.meshRenderer.material = unlitMat; cardOne.meshRenderer.castShadow = true; } }真心求教大佬,怎么才能...

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

17. 为模型指定地形材质报错 [ 70%]

...sh.lm")));var terMaterial = new Laya.TerrainMaterial(); terMaterial.diffuseTexture1=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture2=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture3=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture4=new Laya.Texture2D.lo...

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

18. 怎么给从模型生成的地形TerrainMaterial材质??? [ 69%]

...9, 129)); var terMaterial = new Laya.TerrainMaterial(); terMaterial.diffuseTexture1=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture2=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture3=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture4=new Laya.Texture2D.lo...

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

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

...tor4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0...

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

20. RenderTexture: unkonw depth format [ 68%]

RenderTexture: unkonw depth format 版本: Laya 2.0 问题:只要使用遮罩滤镜就会出现 RenderTexture: unkonw depth format,如果遮罩较多,直接崩溃。   2019-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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