Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix disable lod breaking certain effects #4245

Merged
merged 1 commit into from
Jul 21, 2024

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
8 of 9 checks passed
@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