fast_rx wrote:I use an additive blit to a temporary surface. Then I scan through the pixels and use the color value as a lookup into my color table.
I do the same for now, and it works quite fast, but I need it work even faster. Remember Warcraft2, unit in there has colors of the player which owns it. When there are a lot of units on the screen, changing pixels can take a lot of time. And I have the same problem.