# How many type of thinInstanceSetBuffer

**URL:** <https://forum.babylonjs.com/t/how-many-type-of-thininstancesetbuffer/22267>\
**Category:** Questions\
**Created:** [July 9, 2021, 9:52am UTC](https://forum.babylonjs.com/t/how-many-type-of-thininstancesetbuffer/22267 "2021-07-09T09:52:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [July 9, 2021, 11:10am UTC](https://forum.babylonjs.com/t/how-many-type-of-thininstancesetbuffer/22267/2 "2021-07-09T11:10:28Z")

</div>

There are no other built-in attributes you can use with thin instances. You can create others yourself, but you will need custom shader code to handle them.

For eg:

> [@Thin instances, node material and custom attribute](https://forum.babylonjs.com/t/thin-instances-node-material-and-custom-attribute/11110):
>
> Here’s a little PG that demonstrates using a custom attribute with instances (this is more a proof of concept than anything else): [https://playground.babylonjs.com/#ZTTZJ3#1](https://playground.babylonjs.com/#ZTTZJ3#1) Instances are using the new thin instance support ([Use Thin Instances - Babylon.js Documentation](https://doc.babylonjs.com/how_to/how_to_use_thininstances)) and the custom attribute is used to vary the metallic and roughness properties of the sphere. A node material is used as the basis material, and a custom NodeMaterialBlock class is created to handle the custom attribute and i…

> [@How to apply material to 6 uv maps](https://forum.babylonjs.com/t/how-to-apply-material-to-6-uv-maps/16224/2):
>
> No, as all thin instances are using the same material than their master mesh. If you want to use different texture parts depending on the thin instance, you will have to make a custom shader with a custom attribute to pass the u/v offset (and possibly width/height) of the texture part. See for eg: [thinInstance multiple materials](https://forum.babylonjs.com/t/thininstance-multiple-materials/13644/55) for usage of a texture atlas with thin instances.

---

_[View the full topic](https://forum.babylonjs.com/t/how-many-type-of-thininstancesetbuffer/22267)._
