Correct tile edges

This commit is contained in:
Anuken
2018-11-14 17:05:51 -05:00
parent cac6172344
commit e004e540d7
6 changed files with 207 additions and 157 deletions

View File

@@ -160,8 +160,8 @@ public class Generators {
Image shadow = ImageContext.get(item.name + (i+1));
for (int x = 0; x < image.width(); x++) {
for (int y = 1; y < image.height(); y++) {
Color color = shadow.getColor(x, y - 1);
for (int y = 2; y < image.height(); y++) {
Color color = shadow.getColor(x, y - 2);
//draw semi transparent background
if(color.a > 0.001f){