How to add instancing support in Shader Material?

Hello Guys,

so ya, What code I have to add in my shader material to render instancedMesh?


This should help: Instances with ShaderMaterial or How to set custom attribute on ShaderMaterial for use with instances and clones at the same time?

1 Like