Quickstart: Using and Making Packs

Using the Effects screen in MMDX12 - applying surface shaders, screen effects, world effects and looks, sliders, texture folders and live hot reload.

Working with MMDX Effects in the app

Click the Effects tab in the MMDX12 top bar (between Library and Benchmark) to open the Effects screen.

Installed screen

Every pack on your computer appears as a card:

  • Information: pack preview, name, version, author, tags, kind (Surface shader / Screen effect / World effect / Look) and a source badge (Built-in, Installed, Online).
  • State:
    • Available: the manifest is valid and the pack is ready to use.
    • Compiled: compiled successfully and in use in the current session.
    • Compile error: HLSL compilation failed. The details panel shows the compiler log and the model keeps the default shading.
    • Incompatible: the API version is higher than the app’s, an unknown requires capability is present, or minAppVersion is newer than the current build. The status line names the capability at fault.
    • Manifest error: pack.json is malformed or a required field is missing.
    • Duplicate: another pack with the same ID exists, so this one is disabled.
    • Blocked in the gallery: the zip is on the revocation list.
    • Disabled after a crash: the app crashed in a previous run and the crash guard quarantined the pack. You can re-enable it in the details panel.
  • Kind filter: All / Surface shader / Screen effect / Look.
  • Main buttons:
    • Open folder: opens the selected pack’s folder in the file explorer.
    • Delete: deletes an installed or online-downloaded pack (built-in packs cannot be deleted).
    • Install zip: opens a file picker to install a .zip pack directly. You can also drag and drop it onto the window.
    • New pack: creates a new pack from a template (surface shader or screen effect).
    • Reload packs: rescans pack files and refreshes the cache.

Browse and install packs published in the official web gallery (https://mmdx.codingbot.kr/shader-packs/index.json). You can add third-party gallery addresses under the Gallery sources setting.

  • Install: the download’s SHA-256 hash and size are checked against the index before installing. For unverified packs the app explains the source and the missing badge and asks for confirmation once.
  • Update: installed packs check for updates only at the source they came from first. If that source has a higher version, the Update button becomes active.

Applying each kind

Surface shaders

MMDX Effects surface shaders apply per character model, not globally:

  1. Library screen:
    • Select a character and click the Shaders row in the properties panel on the right.
    • Search for the pack name in the search box or pick it from the list (choose MMD default to return to standard shading).
  2. Pack settings (parameter sliders):
    • Selecting a pack shows the Pack settings slider list. Packs with params.ext show typed controls in collapsible groups.
    • Only the parameters you changed are saved as per-model settings.
  3. Per-material override: in the model’s material list you can change each material’s pack class (skin / face / eye / hair / weapon) or revert it to Default shading. These settings survive switching packs.
  4. Texture folder: if a pack declares "origin": "user" textures, you can set a texture folder per pack and per character. The per-character folder takes priority.
  5. Live adjustment during Play mode: the diamond (◇) button on the playback bar opens the same parameter window.
  6. Studio editor: select a model and choose the pack under Shaders in the inspector. It is saved in the project file (.mmdxproj).
  7. Command line:
    MMDX12.exe --shader-pack hoyo_toon
    --shader-pack none turns every pack off and starts with the default shading.

Screen effects

  1. Install an effect pack from the Online list in the Effects tab.
  2. In the lobby’s Effects tab, expand the Screen effect row, or press the screen effects button on the playback bar.
  3. Enable the effects, reorder them with the arrows and adjust the sliders. The stack applies from top to bottom.
  4. In Studio you can add timeline keys per effect parameter. Keys and the stack are saved in .mmdxproj.

Command line: --effect <id>[,<id>...], --effect none.

World effects

  • Add them from the Effects tab or the world entity list in Studio. Entities are placed in the scene, their parameters can be keyed on the Studio timeline, and they are saved in .mmdxproj.
  • The built-in “Snow” is an example.
  • Command line: --world <id>[,<id>...], --world none.

Looks

  • A look applies lighting, screen effects and surface pack selection as one bundle. See Looks for details.
  • Command line: --look <id> (applies to this run only).

Creating a pack and live hot reload

You do not need to restart the app when writing shaders:

  1. Click New pack in the Effects tab and enter the kind, ID and name.
  2. A folder is created at <MMDX12>/shader_packs/<your pack ID>/ with a commented pack.json and surface.hlsl (or effect.hlsl).
  3. Open that folder in an editor such as Visual Studio Code.
  4. Apply your pack to a character on the Library screen (or add it to the stack if it is a screen effect).
  5. The moment you save surface.hlsl / effect.hlsl / pack.json / *.hlsli, MMDX12 detects the change, recompiles with DXC in the background and updates the screen (hot reload).
  6. A syntax mistake does not close the app: an error notice and the compile log appear, and the model safely keeps the default shading.

If you need a new capability, declare it under requires in pack.json. See the capability table in Manifest.