actually fix the lighting of fluids (kinda) (a full fix would require a lighting comparison and taking the max of self block + neighbor bloc)

This commit is contained in:
mcrcortex
2025-10-25 16:30:08 +10:00
parent bc590c9d81
commit cb084e116e

View File

@@ -561,7 +561,7 @@ public class RenderDataFactory {
A &= ~0b110L; A |= getQuadTyping(Am);
}
long lighter = A;
long lighter = this.sectionData[bi];
//if (!ModelQueries.faceUsesSelfLighting(Am, facingForward|(axis*2))) {//TODO: check this is right
// lighter = this.sectionData[bi];
//}
@@ -1157,7 +1157,7 @@ public class RenderDataFactory {
A &= ~0b110L; A |= getQuadTyping(Am);
}
long lighter = A;
long lighter = this.sectionData[bi];
//if (!ModelQueries.faceUsesSelfLighting(Am, facingForward|(axis*2))) {//TODO: check this is right
// lighter = this.sectionData[bi];
//}