Looks (look)
Look packs that store lighting, screen effects and surface pack selection as one bundle - what they save, capturing / applying in the app, and the --look command line.
What a look is
A look ("type": "look") is a preset that bundles a scene’s visual settings into one file. Where surface shaders
and screen effects change “what is drawn”, a look saves “which combination of lighting and effects it is shown with”.
Like MME 改変 presets, it lets you reuse the same packs in a different mood without writing HLSL.
A look pack needs no shader file. The "look" block in pack.json is everything.
What a look stores
A look holds the following groups (LookData):
- Lighting: lighting preset, exposure, shadows, SSAO, SSR, auto-luminous.
- Bloom: on/off, intensity, threshold, convolution, radius, blend, depth mask, kernel preset and kernel.
- Depth of field: on/off, aperture.
- Volumetric: on/off, density.
- Colour: colour LUT id, LUT intensity, and optionally a LUT strip bundled with the pack (
lutFile, only a png inside the pack). - Screen effect stack: each entry’s pack id, enabled state, parameter values and texture folder.
- Surface pack selection (optional): the pack id, parameters, texture folder and per-material overrides to apply to one character.
- Referenced pack list: every pack the look uses, recorded as
id+minVersion+source(source index). - Applied groups (
sets): which oflighting/effects/color/surfacethis look actually overrides. Groups not in the list are left untouched when applying.
A look does not pin packs to an exact version. It records only id + minimum version + source, so a newer version is used if installed, and the app prompts for installation when a pack is missing or outdated.
pack.json example
{
"format": 1,
"id": "night_stage",
"version": "1.0.0",
"apiVersion": 6,
"type": "look",
"name": { "ko": "밤 무대", "en": "Night Stage" },
"authors": [{ "name": "YourName" }],
"license": "MIT",
"look": {
"lighting": 2,
"exposure": 0.85,
"shadows": true,
"ssao": true,
"ssr": true,
"autoLuminous": true,
"bloom": { "enabled": true, "intensity": 0.45, "threshold": 1.0 },
"dof": { "enabled": true, "aperture": 1.2 },
"volumetric": { "enabled": false, "density": 1.0 },
"color": { "lut": "", "lutFile": "luts/night.png", "intensity": 1.0 },
"effects": [
{ "pack": "lens_flare", "enabled": true, "params": { "strength": 0.4 }, "textureFolder": "" }
],
"packs": [
{ "id": "lens_flare", "minVersion": "1.2.0", "source": "https://mmdx.codingbot.kr/shader-packs/index.json" }
],
"sets": ["lighting", "effects", "color"]
}
}
effects / packs / sets are arrays, and surface is an optional object. Looks cannot use classes, params,
state, passes or inputs (that is a manifest error).
Capturing and applying in the app
- Capture: saves the current lighting, colour, screen effect stack and (selected character’s) surface pack
selection as look data and writes it to the
lookblock of<MMDX12>/shader_packs/<id>/pack.json. A look created this way appears in the Effects screen and the gallery like any other pack. - Apply: applying a look overwrites only the groups listed in
sets. The surface pack group applies only when a character is selected. If a referenced pack is missing, the app prompts for installation and still applies the look itself. - UI scripts:
look <id>applies a look and saves the settings, andlookexport <id> <name...>exports the current settings as a look pack.
Command line: --look
MMDX12.exe --look night_stage
- Applies the given look for this run only and restores the original settings on exit (not saved to the ini).
- If any pack the look references is not installed, it logs a warning and applies only with the packs that exist.
- It can be combined with other run options such as
--effect.
Distribution
Looks follow the same zip layout and gallery rules. LUTs included in a look must be your own or licensed for
redistribution; for files extracted from a game, follow the "origin": "user" rule and use the user texture folder.
Looks are registered as a separate kind alongside surface shaders / screen effects in the gallery. See
Publishing.