Lighting Issue
michaelsebero opened this issue ยท 15 comments
Describe the bug
Placing down light sources sometimes causes this issue.
Reproducibility
- I reproduced this issue with as few other mods as possible installed.
- I am unable to reproduce this issue consistently.
Screenshots and/or videos
Attached
Logs
NA
Debug Logs
NA
Crash Reports
NA
Alfheim Version
1.2
Forge Version
1.12.2 - 14.23.5.2860
MixinBooter Version
9.1
Java Version
8
Java Virtual Machine
Hotspot
Operating System
Linux
GPU Vendor
NVIDIA
Code of Conduct
- I agree to follow this project's Code of Conduct
I was able to reproduce this issue, if there is no air block in range in an adjacent chunk to a newly placed light source that can be updated, the light for solid blocks do not update.
Using Alfheim 1.3 and Vintagium.
Placing a torch near a chunk border where the adjacent chunk has no air block to update:
Creating an air block in the adjacent chunk (chunk will update because I broke a block):
Replacing the light source, the adjacent chunk updates because there is an air block to update!
If I fill in the block and remove the torch, there is no longer an air block to update and the blocks light do not change:
Y-axis example in a superflat world where the player's feet are at Y 64 (grass blocks are Y 63):
Removing the torch, creating air blocks in the adjacent chunks, and then replacing the torch:
Alfheim 1.4 in an otherwise vanilla instance.
It seems fine across chunk borders, but not across the corner.
Placing a torch adjacent to the wall made it light up, but now it's glowing
Placing the torch again and breaking it after waiting a little made the wall dark again, returning to the picture 1 behaviour
Testing with another wall, it broke across chunk borders again
Dimension Hopper: The Fall, unlike mentioned below, does have this issue too
Are there any updates to this issue and any underlying causes? I have the same issue as well with the lighting (even with 1.4)
Also seeing this issue in Roguelike Adventures and Dungeons modpack (which uses Alfheim-1.4.jar). Would be lovely to have a fix. I'm also playing Dimension Hopper modpack which uses Alfheim-1.4-Dev-1.jar, and I don't see the same lighting glitches. Not sure if that helps.
Yeah this is quite annoying to me, I have barely any info on this, and it seems to rarely happen all things considered which make this harder.
I will try to see if I can spot any changes that could cause this next update, but I cannot promise to find a definite fix.
@Desoroxxx in E2EE, i can consistently reproduce it by building a small hut, if some blocks are built over the next chunk (in my case, at the edge of it, and produce a light change (i just close the hut so that no light enter) all other blocks will follow except the blocks over the next chunk, which can inconsistently stay lit up. It's not a rare occurence at all. and yes, Alfheim removal fixes the issue.