I am creating a game with an ascii-like map using Java2D on Linux (like a roguelike).
By rendering BufferedImages via Graphics2D.drawImage the terrain is rendered. I would like to change the hue of each drawn image on the fly, without hurting performance too much. How can I achieve this?
I suspect setComposite is part of the puzzle. Currently I do not need to keep the background intact (so transparency is not an issue). I want to use a wide variety of colors, so pre-generating tinted sprites is not a solution for me.