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: https://playground.babylonjs.com/#PH5Z66#8
You can switch commenting out line 44/45.
Thank you
Did you make sure to add instance support in your NodeMaterial?
hem hem … no
After you told me i’ve checked my nme, am i supposed to add “instances” node?
https://nme.babylonjs.com/#XGP754#2
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