Improve transparency processing on flat map

This commit is contained in:
Mike Primm 2011-06-01 13:12:27 +08:00 committed by mikeprimm
parent 0f0af92c4b
commit e46de59da5

View File

@ -347,12 +347,12 @@ public class FlatMap extends MapType {
pixel[1] = c.getGreen();
pixel[2] = c.getBlue();
pixel[3] = c.getAlpha();
}
}
/* Recurse to resolve color here */
process_transparent(pixel, pixel_day, mapiter);
}
}
}
}
/* Blend colors from behind block and block, based on alpha */
r *= a;
g *= a;