thinInstance customColor in ShaderMaterial

What am I missing? https://playground.babylonjs.com/#2IVLHK#6

All I get is black. Perhaps color is a special case… I’d like to ‘pass’ data to my shaders.

customColor is an attribute. But you set it in the uniforms array at line 57. Move it to attributes array works.

https://playground.babylonjs.com/#2IVLHK#7

1 Like

Thank you.