ScanMountGoat / Smush-Material-Research

Smash Ultimate material and rendering information
https://scanmountgoat.github.io/Smush-Material-Research/
MIT License
19 stars 8 forks source link

Material Parameters Mistake #27

Closed zrksyd closed 1 year ago

zrksyd commented 2 years ago

I noticed that the Material Parameters page says that BlendState's Unk6 can be 2 but according to the database file in Value Dumps, the only valid values are 0, 1, and 6. image

ScanMountGoat commented 2 years ago

There are valid values that are supported in game but not used for any models for some parameters like blend factors. I've never seen any noticeable changes from changing the other blend state values like Unk6 even at the graphics API level. It's unlikely this will be cleared up any time soon.

zrksyd commented 2 years ago

How do you know Unk6 = 2 is valid then?

ScanMountGoat commented 2 years ago

That's the problem. You can't. I must have tested all these values at some point and then decided it wasn't worth looking into more. It's not exposed in any of the APIs other than ssbh_lib_json, so it's not a big priority at the moment.