Skip to content

Moved LightMap update - #43

Open
Celivalg wants to merge 1 commit into
grondag:1.19.2from
Celivalg:1.19.2
Open

Celivalg wants to merge 1 commit into
grondag:1.19.2from
Celivalg:1.19.2

Conversation

@Celivalg

@Celivalg Celivalg commented Sep 2, 2023

Copy link
Copy Markdown

Moved LightMap update to invoke of DynamicTexture.upload() inside LightTexture.updateLightTexture()

This allow other mods to get the LightMap after TrueDarkness updates it (aka DH, see #30 )

Tested on 1.19.2 on both Forge and Fabric

As a consequence, the MixinDynamicTexture is not needed at all anymore, this streamlines the code a bit more.

I couldn't make the 1.19 branch build and I don't know what's up with it, but 1.19.2 worked fine so here I am

@Taleuxss

Taleuxss commented Sep 3, 2023

Copy link
Copy Markdown

wonderful change @Celivalg

HaXrDEV added a commit to HaXrDEV/True-Darkness-Refabricated that referenced this pull request Jan 26, 2024
Implemented "Moved LightMap update" pull request from upstream: grondag#43
@HaXrDEV

HaXrDEV commented Jan 26, 2024

Copy link
Copy Markdown

Great work! Hope you don't mind me implementing this change into my updated fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants