Hi,
As per the documentation of Graphics.DrawMesh
and MaterialPropertyBlock
, same mesh can be redrawn using a bit different properties such as color. But as i move on i see that it actually creates an instance of the material (for the material used in arguement of Graphics.DrawMesh
), and using sharedMaterial
behaves as it says for all objects with that material.
So are these two (Graphics.DrawMesh
and MaterialPropertyBlock
) only providing performance improvement and not avoiding material (or mesh if sharedMesh
not used) instantiating ?!!
If so then for few objects this is equivalent to use Material.color
property directly which also creates instance of the shared material.
Please let me know if i m missing something…
Thanks