# \#materialpluginbase

**URL:** https://forum.babylonjs.com/tag/materialpluginbase/441.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Mark implicitly created material plugins doNotSerialize by default](https://forum.babylonjs.com/t/mark-implicitly-created-material-plugins-donotserialize-by-default/60326)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 1\
**Last updated:** [September 1, 2025, 8:23am UTC](https://forum.babylonjs.com/t/mark-implicitly-created-material-plugins-donotserialize-by-default/60326 "2025-09-01T08:23:45Z")

</div>

In recent versions 2 implicitly created material plugins added, DepthSensingMaterialPlugin, and TAAJitterMaterialPlugin Material plugins with RegisterMaterialPlugin are created in constructor, which is far before seri…

---

## [Animated GIF Texture](https://forum.babylonjs.com/t/animated-gif-texture/57900)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 4\
**Last updated:** [May 9, 2025, 8:50am UTC](https://forum.babylonjs.com/t/animated-gif-texture/57900 "2025-05-09T08:50:26Z")

</div>

With the latest ImageDecoder API it is possible to decode gif image to frames without external deps. The sample2DArray can hold at least 256 frames per spec, and up to 2048 frames on some modern computer, that far from …

---

## [doNotSerialize for material plugins](https://forum.babylonjs.com/t/donotserialize-for-material-plugins/55228)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 5\
**Last updated:** [December 10, 2024, 12:47am UTC](https://forum.babylonjs.com/t/donotserialize-for-material-plugins/55228 "2024-12-10T00:47:25Z")

</div>

Version: git master (d4c5968) Engine: WebGL2 Background: I’m making a material plugin and do not want it to be serialized, since it is designed to be attached at runtime by code. In Material#\_serializePlugins, which i…

---

## [For compressed textures, MeshDebugPluginMaterial cannot be used](https://forum.babylonjs.com/t/for-compressed-textures-meshdebugpluginmaterial-cannot-be-used/52827)

<div class="topic-metadata">

**Author:** [@brightMoon](https://forum.babylonjs.com/u/brightMoon)\
**Replies:** 2\
**Last updated:** [August 17, 2024, 8:17am UTC](https://forum.babylonjs.com/t/for-compressed-textures-meshdebugpluginmaterial-cannot-be-used/52827 "2024-08-17T08:17:27Z")

</div>

My model has compressed texture and uses KTX. I have investigated the reason and found that the code reports an exception when using PrepareMeshForTriangleAndVerticesMode. Normal rendering without using PrepareMeshForTri…

---

## [Can't seem to get correct uv attribute from vertex shader and pass to fragment when using MaterialPluginBase](https://forum.babylonjs.com/t/cant-seem-to-get-correct-uv-attribute-from-vertex-shader-and-pass-to-fragment-when-using-materialpluginbase/47722)

<div class="topic-metadata">

**Author:** [@Baktrian](https://forum.babylonjs.com/u/Baktrian)\
**Replies:** 2\
**Last updated:** [February 1, 2024, 11:08am UTC](https://forum.babylonjs.com/t/cant-seem-to-get-correct-uv-attribute-from-vertex-shader-and-pass-to-fragment-when-using-materialpluginbase/47722 "2024-02-01T11:08:35Z")

</div>

The output of the shader should be a gradient when using UV but is currently black. When I manually edit the vUV value to be vec2(1.0, 0.0); for example, that works, but using the uv attribute does not work. I’ve …
