How to paint texture with white color? Example what I mean:

SpriteBatch.setColor changes tint only.
|
How to paint texture with white color? Example what I mean:
|
|||||
|
|
As indicated above, simply implementing a pixel shader to change the color would be sufficient. Other than that, you could swap out textures on the fly. That is a bigger performance hit though, by far. |
|||
|
|