Skip to content

Struct field fixes for LcdScreenEffect_s and MaterialAsset_t#71

Merged
IJARika merged 4 commits into
mainfrom
struct_field_fixes
Aug 12, 2025
Merged

Struct field fixes for LcdScreenEffect_s and MaterialAsset_t#71
IJARika merged 4 commits into
mainfrom
struct_field_fixes

Conversation

@Mauler125

Copy link
Copy Markdown
Collaborator

Fixes incorrect order of members in LcdScreenEffect_s, and makes MaterialAsset_t::samplers 64 bit (game reads it up to 64bit in len).

waveOffset comes before waveScale.
Engine reads it out as 64-bit, write it as 64-bit.
Material V12's output data was incorrect after the change in d7842d0. Revert this for now (it is currently also unknown whether V12 has 4 or 8 samplers, but only 4 are ever filled on all observed materials so reverting to that, as V12 also uses 4 blend states instead of 8 like V15 does, so its very likely it also only has 4 samplers).
@IJARika IJARika merged commit f3f7923 into main Aug 12, 2025
2 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