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

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

361. 粒子动画透明度问题 [ 34%]

...inate;\nuniform sampler2D u_texture;\n\nvoid main()\n{ \n  gl_FragColor=texture2D(u_texture,v_TextureCoordinate)*v_Color;\n    gl_FragColor.xyz *= v_Color.w;\n}";}     ]);     return ParticleShader; })(Shader) 2018-12-25 0 0 分享 微博 QZONE 微信 veined 赞同来自: 我也遇到...

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

362. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 34%]

...arameters value: boolean Returns void tangentTexture get tangentTexture(): Texture2D set tangentTexture(value: Texture2D): void Inherited from PBRMaterial.tangentTexture Defined in laya/d3/core/material/PBRMaterial.ts:390 Returns Texture2D Inherited from PBRMaterial.tangentTexture Defined in laya/d3...

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

363. 自定义shader-简单shader [ 34%]

...a.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SphereMesh; import laya.d3.shader.Shader3D; import laya.d3.shader.ShaderCompile3D; import laya.display...

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

364. laya.d3.core.scene.Scene3D_API3.0 [ 33%]

...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null): Texture | RenderTexture2D Inherited from Text.drawToTexture Defined in laya/display/Sprite.ts:1259 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: number offsetX: number offsetY: n...

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

365. laya.media.VideoTexture_API3.0 [ 32%]

...Parameters value: number Returns void defaultTexture get defaultTexture(): Texture2D Overrides BaseTexture.defaultTexture Defined in laya/media/VideoTexture.ts:221 Returns Texture2D destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:138 是否...

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

366. laya.d3.core.material.PBRMaterial_API3.0 [ 32%]

...ters value: number Returns void anisotropyTexture get anisotropyTexture(): Texture2D set anisotropyTexture(value: Texture2D): void Defined in laya/d3/core/material/PBRMaterial.ts:532 anisotropy 强度贴图 Returns Texture2D Defined in laya/d3/core/material/PBRMaterial.ts:536 anisotropy 强度贴图...

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

367. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 31%]

...ters value: number Returns void anisotropyTexture get anisotropyTexture(): Texture2D set anisotropyTexture(value: Texture2D): void Inherited from PBRMaterial.anisotropyTexture Defined in laya/d3/core/material/PBRMaterial.ts:532 anisotropy 强度贴图 Returns Texture2D Inherited from PBRMaterial.ani...

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

368. 高级应用-渲染纹理 [ 29%]

...th.Vector4; import laya.d3.resource.RenderTexture; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BaseMesh; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.resource.Texture; import laya.ui.B...

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

369. 分享一个Shader版的CoolDown实现 [ 29%]

...      fa = clamp(fa, 0.0, 1.0);\                 vec4 t_color = texture2D(texture, v_texcoord); \                 gl_FragColor = t_color.rgba * v_color.rgba * vec4(1,1,1,fa); \             }\             ";             /*             var ps: string = " \  ...

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

370. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 27%]

...createFromMeshAndHeightMap createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name?: string): MeshTerrainSprite3D Defined in laya/d3/core/MeshTerrainSprite3D.ts:39 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 Parameters...

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