# Node Material Editor - instance color

**URL:** <https://forum.babylonjs.com/t/node-material-editor-instance-color/21801>\
**Category:** Questions\
**Created:** [June 20, 2021, 12:15pm UTC](https://forum.babylonjs.com/t/node-material-editor-instance-color/21801 "2021-06-20T12:15:30Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [June 29, 2021, 3:26pm UTC](https://forum.babylonjs.com/t/node-material-editor-instance-color/21801/9 "2021-06-29T15:26:30Z")

</div>

If you use the attribute named “color” for your instances, it will replace the regular “vertex color” attribute. What you can do is name your instance color something else, so that you can have both the vertex color and instance color attributes:

[https://playground.babylonjs.com/#HQ4P5G#2](https://playground.babylonjs.com/#HQ4P5G#2)

Use the `setAsAttribute` method of the input block to transform this input to an attribute.

---

_[View the full topic](https://forum.babylonjs.com/t/node-material-editor-instance-color/21801)._
