Create multiple instance of a mesh with a shader

Hello everybody,

I would like to write a shader that creates several instances of the same object at different positions (which would be parameters of my shader).

Is it possible to do?
Are there some existing example to do that?
(I’m not good in shader programming ^^)

Thank you very much,
Best regards,

BigBulle

I don’t think that you would use a shader for this, or at least, you most certainly WILL need a script for your shader.

What you usually do in these cases, is to create a prefab of your gameobject, and create a script that spawns it!