# Vertex color support of binary STL format

**URL:** <https://forum.babylonjs.com/t/vertex-color-support-of-binary-stl-format/59494>\
**Category:** Feature requests\
**Tags:** material, mesh, import, vertex-colors\
**Created:** [July 11, 2025, 8:38am UTC](https://forum.babylonjs.com/t/vertex-color-support-of-binary-stl-format/59494 "2025-07-11T08:38:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![crd233](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/crd233/32/47479_2.png) [@crd233](https://forum.babylonjs.com/u/crd233)\
**Post date:** [July 11, 2025, 8:38am UTC](https://forum.babylonjs.com/t/vertex-color-support-of-binary-stl-format/59494/1 "2025-07-11T08:38:50Z")

</div>

**Stantard version of STL** has no material support, but there are **non-standard variations** on the _binary_ STL format for adding color information (see [STL (file format) - Wikipedia](https://en.wikipedia.org/wiki/STL_(file_format)#Binary)).

To be compared with, **Three.js** has the support of STL vertex color (`STLLoader` supports the `Magics` approach but `STLExporter` does not).

I know STL may not be a good choice if we need vertex color, but some use cases do exist (otherwise there wouldn’t be the variations). I want to check that Babylon.js do not support this, right? And is it possible to add the support? (at least support the loader to compete with Three.js, XD)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [July 14, 2025, 12:30pm UTC](https://forum.babylonjs.com/t/vertex-color-support-of-binary-stl-format/59494/3 "2025-07-14T12:30:37Z")

</div>

As no standard exists it is hard to lean towards one or another implementation. Feel free to PR smthg that could let you extend the loader as you wish ?
