protected int applyLighting(int c, int br) {
		if (br > 255)
			return c;
		int r = (c >> 16) & 0xff;
		int g = (c >> 8) & 0xff;
		int b = (c) & 0xff;

		r = r * br / 255;
		g = g * br / 255;
		b = b * br / 255;

		c = r << 16 | g << 8 | b;
		return c;
	}