Custom Dimension Bug

Status
Resolved
Issue description

I don't know why but custom dimensions often have texture bugs when you go there, like some overriding with normal textures, mainly with water and grass, it also MAINLY occurs near the portal, and it makes a kind of square with the textures, See screenshot 1 or 2

It's a dimension using vanilla water and vanilla grass, sometimes this bug rarely happens, also when you update the bugged grass block it turns back to normal dimension color

Sometimes it dissapear immediately after you enter the dimension

Also looks like even when you disable overworld behavoir, you have an invisible day and night cycle when you look at a certain direction, See screenshot 3

 

Tell me if i should provide a minimal workspace but i guess it's an easy step reproduce, put a dark dimension with a custom grass color and water color, and go and enter the dimension as much possible, if still not appear, do it but enter and leave the world before enter portal, for invisible day night cycle, if you don't see it, try to move the time of the day with /time, You see light at WEST with /time set night, You can even see the world having more light at day and less light at night even without global light sorce

Issue comments

This is probably due to lightning.

Rendering of dimension is not controlled by the dimension code generated so I don't think there is much control over this.

MC and light updating is known to have problems, more so in custom dimensions likely.

There it is global light source problem, as I said

Rendering of dimension is not controlled by the dimension code generated so I don't think there is much control over this.

MC and light updating is known to have problems, more so in custom dimensions likely.

If you find a fix in the code, feel free to provide it and I will apply it to the generated code it but I doubt there is much that can be done.