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

Add hilite setup calls around all custom GI draws #5043

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Feb 11, 2025

This adds hilite setup calls before all of our custom uses of GI draws.

The game normally does this before any GI draws that happen in vanilla (like in shops, heart containers, etc), but we weren't calling them in all other places that we added. The hilite calls are responsible for making the texture gen effects to not move strangely based on the player camera.

It is a little messy, and probably it would be worth having a new method that contains all the logic needed to draw GI models like this.

Build Artifacts

Comment on lines +21 to +22
func_8002EBCC(&enElf->actor, play, 0);
func_8002ED80(&enElf->actor, play, 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sad these don't have names in decomp yet, but it is what it is for now.

@aMannus aMannus merged commit 2667925 into HarbourMasters:develop Feb 12, 2025
5 checks passed
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.

2 participants