Hi Guys,
I am doing a painting like game and am using GetPixels and SetPixels to do it. I am drawing it in a texture.
My question is how to check the that i drawn completely in that texture, so that i can show my game to an end.
Please anyone give a solution. Am working on this for a week>:(((
Thanks in advance.
Hey Murali,
I have been building a similar game, “cleaning simulation” , one way to do that would be to compare the colors of your textures to each other, I used Getpixel32, for both the original texture and the one i painted, so i ended up with 2 color32 arrays which i could compare to know the percentage of difference between the textures now.
However, comparing RGB values is a nuisance unless you are using very different colors, which is not my case, so i have to convert to HSB.
hope that this was helpful