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 NUD float UV support #384

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Conversation

Dr-HyperCake
Copy link
Contributor

I've added support for a NUD vertex format flag, wherein UV data is stored as floats rather than half-floats. It's used in the Wangan Midnight games. Thanks to @wood5578 for ongoing collaboration; bringing this particular issue to my attention, providing files, and testing changes.

  • Added a new polygon attribute, uvType, and a new enum, UVTypes
  • Updated the NUD IO code accordingly
    • It also now uses more abstractions, such as the new attributes and enums, rather than magic numbers.
  • Fixed a potential issue with the deprecated material attributes, AlphaTest and AlphaFunction, not matching their prior implementation, which could have resulted in erroneous behavior when importing old XMLs.

@ScanMountGoat ScanMountGoat merged commit 35f403b into jam1garner:master Mar 29, 2024
1 check 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