grass is actually using texture now

This commit is contained in:
cola98765
2021-09-17 12:55:14 +02:00
parent 83571951be
commit fa1d950ff9
2 changed files with 16 additions and 9 deletions
@@ -92,4 +92,8 @@ public class ColorUtil
hsv[1],
brightness).getRGB();
}
public static int multiplyRGBcolors(int color1, int color2)
{
return (((getAlpha(color1) * getAlpha(color2)) << 16) & 0xFF000000) | (((getRed(color1) * getRed(color2)) << 8) & 0xFF0000) | ((getGreen(color1) * getGreen(color2)) & 0xFF00) | (((getBlue(color1) * getBlue(color2)) >> 8) & 0xFF);
}
}