Skip to content

Conversation

@Archez
Copy link
Contributor

@Archez Archez commented Jul 18, 2024

The disable lod enhancement was overwriting the lod value in SkelCurve_DrawLimb which uses lod to mean something else. In here, a lod value of 0 means render one DL as OPA, and a lod value of 1 means render a DL as OPA and another DL as XLU.

There are only 3 instances of SkelCurve_DrawLimb, all of which explicitly use a lod value of 1 to render transparent effects.

I've removed this override as it is not correct for this method.

I also removed a separate override for lod value in z_player that was redundant, as eventually the player code just calls SkelAnime_DrawFlexLod which already has the disable lod override within it.

Build Artifacts

@Archez Archez linked an issue Jul 18, 2024 that may be closed by this pull request
@Archez Archez merged commit 7a00658 into HarbourMasters:develop-macready Jul 21, 2024
@Archez Archez deleted the fix-disable-lod branch July 21, 2024 19:31
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.

Missing Effect when moving Song of Time blocks with Disable LOD

2 participants