Instances with node material are not rendering

Hi guys!
The instanced version of the sphere is not rendered. It uses a node material. Why is this not working? Do I need to setup my material with the instances node in it?

https://playground.babylonjs.com/#U7B11W#2

image

Thank you!

R.

Yes, you need to use the Instances block in your material for instances to work. Note that it will also work to use the Instances block even if you don’t create instances for your mesh: so you would better always use this block in your materials!

1 Like

Thanks for the clarification!