Skip to content

[ME] Explicitly save default values #321

@websitemonitorer

Description

@websitemonitorer

It would be nice if all material properties, including the ones not modified, were saved to the card

I have two use cases for this:

  • Maintaining consistency between shader versions with different defaults. I don't know how often this happens, but I found an unofficial KKUTS 2.5 that added some fixes to 2.4 and, for some reason, also darkened the default HighColor. This made all my cards that used the default value, because I liked the default value, not look the same.
  • Editing a character card with external tools. I wanted to do a quick hue rotation on all colors of all materials, but I couldn't since some of the colors were set to default, and so not embedded in the card

On a side note, the different defaults for the two shaders also break the reset functionality. If I change HighColor on the old shader, then save the card and load it with the new shader, resetting it will set it to the default value of the old shader.
I assume this is because the default value is saved in the card instead of being read from the shader

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions