大约有 190 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
...,会有顶点重叠的地方,显示效果很差,希望可以通过 gl.stencilFunc和gl.stencilOp解决 相信官方也会越来越注重品质和性能,那么平面阴影肯定在计划内而不是用实时阴影,祝Laya未来繁荣昌盛。 2020-11-19 添加评论 悬赏 --> 分享 微...
来源: Laya_社区 发布时间: 20201119
...\nvarying vec2 v_Texcoord0;\nvarying vec2 v_Texcoord1;\n\nvoid main()\n{\n gl_Position = u_MvpMatrix * a_Position;\n \n v_Normal = a_Normal;\n v_Texcoord0 = a_Texcoord0;\n v_PositionWorld = (u_WorldMat*a_Position).xyz;\n \n #ifdef CUSTOM_LIGHTMAP\n //v_Texcoord1 = a_Texcoord0 * u_lightmapScaleOffset...
来源: Laya_示例 发布时间: 20260303
...么原因? 黑屏报这个错,是什么原因? [.Offscreen-For-WebGL-080E3858]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. VM72 2017-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20170908
...ead property '_tf' of null 粒子放着放着:(内存占用巨大) laya.webgl.js:8156 Uncaught RangeError: Array buffer allocation failed 用着某个粒子: GL_OUT_OF_MEMORY : glShaderSource: too large laya.webgl.js:8055 GL_OUT_OF_MEMORY : glShaderSource: too large laya.webgl.js:7582 Uncaught __pro...
来源: Laya_社区 发布时间: 20171021
... u_Smoothness: { type: Float, default: 0.0, range: [0.0, 1.0] }, u_MetallicGlossTexture: { type: Texture2D, options: { define: "METALLICGLOSSTEXTURE" } }, u_OcclusionTexture: { type: Texture2D, options: { define: "OCCLUSIONTEXTURE" } }, u_OcclusionStrength: { type: Float, default: 1.0 }, u_EmissionC...
来源: Laya3.0_文档 发布时间: 20251010
webgl文字显示不齐 let txt; txt = new Laya.Text(); txt.text = "abcde"; txt.fontSize = 100; Laya.stage.addChild(txt); txt = new Laya.Text(); txt.text = "我们是最好的"; txt.fontSize = 50; txt.x = 0; txt.y = 300; txt.scale(2,2); Laya.stage.addChild(txt);在laya2.0版本里,上面第二个...
来源: Laya_社区 发布时间: 20181119
...模式吗? 混合因子:D3DBLEND_SRCALPHA, D3DBLEND_INVSRCALPHA; opengl中为 GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA 混合方式用乘法法:D3DTOP_MODULATE ;opengl好像没有乘法??? 2017-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20170908
...改为动态切换帧率后就出现这个报错了 [.Offscreen-For-WebGL-080E3858]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. VM72 2017-09-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20170910
LayaAir引擎之webGl之bindTexture: attempt to bind a deleted texture Main.max.js:30966 WebGL: INVALID_OPERATION: bindTexture: attempt to bind a deleted texture 源码为 WebGLContext.bindTexture=function(gl,target,texture){ gl.bindTexture(target,texture); ...
来源: Laya_社区 发布时间: 20170114
...现,但是概率还很高。 以下是缺失的时候警告。 [.WebGL-000001C48A1B00F0]GL ERROR :GL_INVALID_VALUE : glTexSubImage2D: bad dimensions. 并不是百分百必现,无法提供demo 2018-12-14 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 二位能否提供复现的demo...
来源: Laya_社区 发布时间: 20181126