Skip to content

Conversation

@Celivalg
Copy link

@Celivalg Celivalg commented Sep 2, 2023

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
Copy link

Taleuxss commented Sep 3, 2023

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
Copy link

HaXrDEV commented Jan 26, 2024

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