Help with LinesMesh

Hi,
I am trying to apply different colors for each instances of LinesMesh.
But its not working with registerInstancedBuffer.
Is any other option available without cloning of LinesMesh.
https://playground.babylonjs.com/#MZ7QRG#573

Thanks
Gopinath Vellingiri

You should use “color” instead of “instancecolor” for the name of the attribute:

https://playground.babylonjs.com/#MZ7QRG#574

1 Like