I'm working on a 3D real time tactics wargame and a primary feature is military customisation. As part of the customisation, I would like to have the player be able to change some of the colors of the unit's texture, similar to how Dawn of War has their color changer. How did they do this?
|
You can either:
|
|||
|
Many games use the alpha channel of the texture for that. That's a simple composition, first the player color and than the texture on top of it. |
|||
|