Cutout emission

This commit is contained in:
paulevsGitch 2021-07-18 17:29:23 +03:00
parent 201df3746a
commit 71935a746a
4 changed files with 58 additions and 2 deletions

View file

@ -62,7 +62,7 @@ public class TextureAtlasMixin {
int g = (argb >> 8) & 255;
int b = argb & 255;
if (r > 0 || g > 0 || b > 0) {
argb = (argb & 0x00FFFFFF) | (200 << 24);
argb = (argb & 0x00FFFFFF) | (250 << 24);
sprite.setPixelRGBA(x, y, argb);
}
}