Skip to content

Conversation

@NikkelM
Copy link
Member

@NikkelM NikkelM commented Nov 22, 2025

Decompiled Hades maps have the Ambient in their root, not within a Material parent as HadesMapper currently expects, I'm unsure why this is.
This would cause all encoded maps to always have an ambient values of 0 assigned.
To not potentially mess up any current behaviour, I'm simply adding an additional fallback to the root Ambient value in case the Material parent doesn't exist.
Here's some comparisons:

Hades:
Image

Same map encoded for Hades II with missing Ambient values:
Image

Same map encoded for Hades II with fixed Ambient values:
Image

@NikkelM NikkelM marked this pull request as draft November 22, 2025 22:57
@NikkelM NikkelM marked this pull request as ready for review November 22, 2025 23:00
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