# Troubles making a dynamic material instance

**URL:** <https://forums.unrealengine.com/t/troubles-making-a-dynamic-material-instance/479019>\
**Category:** Rendering\
**Tags:** decal, parallax, unreal-engine, question\
**Created:** [February 19, 2021, 12:27am UTC](https://forums.unrealengine.com/t/troubles-making-a-dynamic-material-instance/479019 "2021-02-19T00:27:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waz0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Waz0](https://forums.unrealengine.com/u/Waz0)\
**Post date:** [February 19, 2021, 12:27am UTC](https://forums.unrealengine.com/t/troubles-making-a-dynamic-material-instance/479019/1 "2021-02-19T00:27:18Z")

</div>

Hello 🙂

I’m trying to achieve a functional POM decal (working with actor rotation), following instructions and ideas from a few places on the web (a couple below)

[https://forums.unrealengine.com/development-discussion/rendering/71915-pom-decal-decal-rotation-screws-up-pom-effect/page2](https://forums.unrealengine.com/development-discussion/rendering/71915-pom-decal-decal-rotation-screws-up-pom-effect/page2)

> **[Instanced Materials](https://docs.unrealengine.com/4.27/en-US/RenderingAndGraphics/Materials/MaterialInstances/)**
>
> Hierarchical material relationships that allow modification of properties to alter behavior and appearance of child materials without shader recompilation.

At that point I have a Decal material with effective POM, and a Decal actor with its blueprint that contains the MID.  
Fact is, contrary to every example I find, I can’t seem to plug the _return value_ of the MID node into the vector parameter vallue _collection_. It shows the following error : _material instance dynamic object reference is not compatible with material parameter collection object reference_

 ![330209-mid.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/b/3/0b37ff760fc3ffceb30d462e2209712461b71dfc.png)

I’m running out of clue here as it gets hard to find further informations and I’m a blueprint noob. Maybe I’m not doing the construction script in the right place.

It’s frustrating as I’m quite close to conclusion, some help would be appreciated. Thanks!
