In this image I just wanted to change the background colour from texture green to blue or any other colour which I have successfully done, but I am not able to retain its shadow or its glow after the colour change. Please help. This is the most important part to my project where I am stuck.
for (int i = 0; i < _bmp.getWidth(); i++) {
for (int j = 0; j < _bmp.getHeight(); j++) {
int p = _bmp.getPixel(i, j);
int r = Color.red(p);
int g = Color.green(p);
int b = Color.blue(p);
int a = Color.alpha(p);` here i am getting always 255
}
}
↧