how can i get pixel color from one image then fill one mesh with that color?

i want to get all pixel of image (for example my image size is : x=2 y=2 ) then fill color mesh from this pixel.

Can try something like this,
https://github.com/UnityCommunity/UnityLibrary/blob/master/Scripts/Misc/TexturePixels2Quads.cs

1 Like

TNX i test it and its work