Begin working on improved lighting to better match 1.14's "new" light… (#611)

* Begin working on improved lighting to better match 1.14's "new" lighting engine
I guess the "new" lighting engine is somewhat old now lol
Also implement the remove first stuff to fixlight

* And then make it work
This commit is contained in:
dordsor21
2020-09-13 15:36:36 +01:00
committed by GitHub
parent d00899e177
commit 4243e8e86b
3 changed files with 574 additions and 95 deletions

View File

@ -381,8 +381,12 @@ public class FaweAPI {
}
}
if (mode != RelightMode.NONE) {
relighter.fixSkyLighting();
relighter.fixBlockLighting();
if (Settings.IMP.LIGHTING.REMOVE_FIRST) {
relighter.removeAndRelight(true);
} else {
relighter.fixSkyLighting();
relighter.fixBlockLighting();
}
} else {
relighter.removeLighting();
}