I'm trying to draw a minimap with the Paster plugin but I have difficulties.
First I populate an array with random values for the map, and fill a tilemap in the same way at the same time.
Next I run through the same array and draw 1x1 quads with a color for each value.
The result is a minimap opposite of the real map. And some strange things I don't understand. I don't see any option to close path. Do I have to set the vertices of the quad ?
What did I do wrong ? Something with the order I call Set Quad Color ?
Edit : After testing, trying to run through a tilemap loop instead of array, trying to make two passes instead of one, I've seen unpredictable results. For example, if I disable the second color for the minimap, it works well. So it draws the quads at the right location, red 1x1 quad at black tile. But with the second condition, the results are wrong. If I set a first pass for the red quads at black tile, and a second for white quads at gold tiles, it makes some weird results. Really don't understand anything...