In-game Image Maipulation

I see many racing games these days allow you to “paint” a car by either applying and colouring templates or using premade brushes. Trackmania also allows for the design to be made symetrical.

I see now that this would require the player to be able to manipulate the texture file on the car. Then write it to a disk so it can be saved and reused.

How to do?

hi,

Maybe use Readable textures ?

hope this helps

oh wow…uh…i imagined it would be a complex system…how complex do you think it will be, exactly?

Its not that complex, say you want to take an existing texture and change its color, all you have to do in terms of code is use GetPixel to get the texture, Set Pixel to set it to whatever new values you want and then call Apply() to call the changes you made. Check unity scripting ref for SetPixel and you should get a good idea of how that works