createInstance doesn't work with material from nme

Hi there,
i don’t know if it’s a limitation of createInstance() method or a bug.
I create a material with nme and assign to a simple mesh (a box): if use createInstance to replicate the box over the scene i get no result e no error, if use clone it works.
This is my test PG:
You can switch commenting out line 44/45.
Thank you

Did you make sure to add instance support in your NodeMaterial?

hem hem … no :blush:

After you told me i’ve checked my nme, am i supposed to add “instances” node?

Yes, you need to use the Instance block, but you should use it in place of the world matrix, not of the view matrix:

Thank you very much! I’ve learned something new :wink: