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

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

1. laya.particle.shader.value.ParticleShaderValue_API3.0 [ 100%]

...derValue" ParticleShaderValue Class ParticleShaderValue 2D粒子 Hierarchy Value2D ParticleShaderValue Index Constructors constructor Properties ALPHA alpha clipMatDir clipMatPos clipOff color colorAdd defines filters mainID mmat ref shader size subID texture textureHost u_CurrentTime u_Duration u_E...

来源: Laya3.0_api 发布时间: 20231115

2. laya.filters.IFilterActionGL [ 75%]

...erActionGL  setValue(shader:*):voidIFilterActionGL  setValueMix(shader:Value2D):voidIFilterActionGLProperty DetailtypeMixpropertytypeMix:int  [read-only] Implementation     public function get typeMix():intMethod Detailapply3d()method public function apply3d(scope:SubmitCMDScope, sprite:Sp...

来源: laya_api 发布时间: 20170929

3. laya.filters.webgl.FilterActionGL [ 74%]

...terActionGL  setValue(shader:*):voidFilterActionGL  setValueMix(shader:Value2D):voidFilterActionGLProperty DetailtypeMixpropertytypeMix:int  [read-only] Implementation     public function get typeMix():intConstructor DetailFilterActionGL()Constructorpublic function FilterActionGL()Method D...

来源: laya_api 发布时间: 20170929

4. 请问关于2.0引擎 typescript 2D shader 文档中例子的问题 [ 71%]

...2.0引擎 typescript 2D shader 文档中例子的问题 1) 例子中 Laya.Value2D 的继承类需要设置 this.position, 但你类 Value2D 并没有 position 2) myShaderSprite 中使用的 Laya.Buffer.append 函数, 但 Laya.Buffer 找不到 append 方法 3) myShaderSprite 中的 customRender 函...

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

5. shader 问题[关闭] [ 67%]

...动手丰衣足食是不是所有的 uniform 和attrbuite 都写在 Laya.Value2D 扩展里面 类似      attribute vec2 position;     attribute vec2 texcoord;     attribute vec4 color;     uniform vec2 size;     uniform mat4 mmat;     varying vec2 v_texcoord;varying vec4 v_color;    ...

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

6. 关于要自定shader的同学 [ 65%]

...ader原文档 2.要修改shader里面的值 class ShaderValue extends Laya.Value2D {class ShaderValue extends Laya.Value2D { constructor () { super(0, 0) var _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2, Laya.WebGLContext.FLOAT, false, _vlen, 0] this.texcoord = [2, Laya.WebGLContext.FLOAT,...

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

7. laya.filters.webgl.ColorFilterActionGL [ 58%]

...setValue(shader:*):void[override] ColorFilterActionGL setValueMix(shader:Value2D):voidFilterActionGLProperty Detaildatapropertypublic var data:ColorFilterConstructor DetailColorFilterActionGL()Constructorpublic function ColorFilterActionGL()Method Detailapply3d()methodoverride public function apply...

来源: laya_api 发布时间: 20170929

8. 分享一个Shader版的CoolDown实现 [ 55%]

...   }     } import WebGLContext = laya.webgl.WebGLContext;     import Value2D = laya.webgl.shader.d2.value.Value2D;     import CONST3D2D = laya.webgl.utils.CONST3D2D;     export class coolDownShaderValue extends Value2D {         public texcoord: any;         public progress: number;...

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

9. 1.0 骨骼drawcall优化猥琐方法 [ 55%]

... = Submit.createShape(context, mIBBuffer, mVBBuffer, mEleNum, _indexStart, Value2D.create(ShaderDefines2D.SKINMESH, 0));                 transform || (transform = Matrix.EMPTY);                 transform.translate(x, y);                 Matrix.mul(tran...

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

10. 如何在自定义Shader中,添加自己的shader变量? [ 54%]

...er中,添加自己的shader变量? 是通过laya.webgl.shader.d2.value.Value2D 来设置吗? 2017-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 请参考:自定义shader,...

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