# Instanced mesh material?

**URL:** <https://forums.unrealengine.com/t/instanced-mesh-material/659162>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint\
**Created:** [September 29, 2022, 6:05pm UTC](https://forums.unrealengine.com/t/instanced-mesh-material/659162 "2022-09-29T18:05:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 29, 2022, 8:11pm UTC](https://forums.unrealengine.com/t/instanced-mesh-material/659162/4 "2022-09-29T20:11:00Z")

</div>

You can use Per Instance Custom Data.

Example:

> [@How to add a hit count (health points) to individual instances?](https://forums.unrealengine.com/t/how-to-add-a-hit-count-health-points-to-individual-instances/227176/2):
>
> The name of the game is Custom Primitive Data (check docs at the bottom). The material for a brick: each instance stores a float which is used to Lerp between 2 colours (to visualise hits remaining) this can (and probably should) get prettified Making a brick wall: create a bunch of instances and store their data in an int | int Map instead of an integer, you could have a struct and hold all kind of data here; perhaps this brick is worth some coins, or explodes when destroyed and …

If you feed the vertex interpolator 3 floats, you get a color.

* * *

So, different material for each instance - no. Different colour, oh yeah. You can send more data than just a colour, ofc.

---

_[View the full topic](https://forums.unrealengine.com/t/instanced-mesh-material/659162)._
