Merge pull request #282 from Null-MC/floodfill.lantern-color

FloodFill Lantern Color Fix
This commit is contained in:
Xonk 2024-08-22 23:11:23 -04:00 committed by GitHub
commit cd5f21fbb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -770,7 +770,9 @@ void main() {
mixWeight = 0.8;
}
if (blockId == BLOCK_TORCH || blockId == ITEM_TORCH) {
if (blockId == BLOCK_TORCH || blockId == ITEM_TORCH ||
blockId == BLOCK_LANTERN || blockId == ITEM_LANTERN
) {
lightColor = vec3(TORCH_R, TORCH_G, TORCH_B);
lightRange = 14.0;
mixWeight = 0.8;