{
  "schemaVersion": 1,
  "slug": "holographic-prism-material",
  "packageId": "makokara.official.holographic-prism-material",
  "name": "全息镭射棱镜材质",
  "subtitle": "Holographic Prism Material",
  "summary": "物理薄膜干涉七彩虹彩、3D 浮雕倒角、斜向衍射光栅与动态闪粉微粒融合的全息镭射材质，100% 透明安全。",
  "version": "1.0.0",
  "revision": "sha256:28fd887b97e1a7396b7c6df9381e1dccf254295dadf55b55a2f6df5dc967c49f",
  "packageVersion": 3,
  "sdkVersion": "2.0.0",
  "shaderProfile": "skia-ganesh-3.119.4-v2",
  "category": "material",
  "tags": [
    "全息镭射",
    "薄膜干涉",
    "闪粉微粒",
    "纯材质",
    "透明安全"
  ],
  "author": {
    "name": "MakoKara Official"
  },
  "license": "MIT",
  "featured": true,
  "featuredOrder": 12,
  "verified": true,
  "verifiedAt": "2026-12-06",
  "transparentSafe": true,
  "requires": [],
  "exportKinds": [
    "material"
  ],
  "parameterCount": 7,
  "lineExitDurationUs": 0,
  "recommendedFor": [
    "虚拟偶像与未来感电音曲目",
    "华丽动画 OP/ED 与流行副歌",
    "唱片烫印感与透明通道导出字幕"
  ],
  "media": {
    "coverUrl": "https://mkfx.talium.site/files/holographic-prism-material/cover.webp",
    "previewVideoUrl": "https://mkfx.talium.site/files/holographic-prism-material/preview.webm",
    "transparentPreviewVideoUrl": "https://mkfx.talium.site/files/holographic-prism-material/preview-transparent.webm"
  },
  "archive": {
    "fileName": "holographic-prism-material.mkfx",
    "url": "https://mkfx.talium.site/files/holographic-prism-material/holographic-prism-material.mkfx",
    "sizeBytes": 7513,
    "sha256": "d6546ac5c6bf184a863eacb583138142eb23c753ada2766c8d7e01141bc1ff20"
  },
  "links": {
    "detailPageUrl": "https://mkfx.talium.site/effects/holographic-prism-material/",
    "detailApiUrl": "https://mkfx.talium.site/api/v1/packages/holographic-prism-material.json",
    "sourceUrl": "https://github.com/Zydr114/MakoKaraGenerator-OfficialMkfxSamples/tree/main/packages/HolographicPrismMaterial",
    "installUri": "makokara://market/install?catalog=https%3A%2F%2Fmkfx.talium.site%2Fapi%2Fv1%2Fcatalog.json&packageId=makokara.official.holographic-prism-material&slug=holographic-prism-material"
  },
  "description": "面向虚拟偶像、电子流行与典藏专辑视觉设计的官方全息镭射棱镜纯材质包。基于多尺度平滑覆盖场构建 3D 烫印法线，实时求解薄膜干涉光谱、激光微光栅与随机切面星点闪粉，普通与透明通道下均可完整渲染绚丽虹彩。",
  "previewNotes": "预览在樱霞舞台背景上展示物理薄膜干涉七彩流光、3D 浮雕边缘棱镜光与动态闪粉微粒。",
  "emitters": [],
  "exports": [
    {
      "id": "holographic-prism-material",
      "kind": "material",
      "name": "全息镭射棱镜材质",
      "graph": "graphs/holographic-prism-material.graph.json",
      "regions": [
        "fill",
        "stroke"
      ],
      "coverageMode": "Masked",
      "parameters": [
        "baseColor",
        "iridescence",
        "prismScale",
        "sweepSpeed",
        "gratingStrength",
        "glitterAmount",
        "bevelGloss"
      ],
      "outputs": [
        {
          "id": "color",
          "kind": "ImageGraph",
          "target": "region",
          "requires": []
        }
      ]
    }
  ],
  "parameters": [
    {
      "default": {
        "a": 1,
        "b": 0.36,
        "g": 0.25,
        "r": 0.22
      },
      "id": "baseColor",
      "label": "镭射基底色",
      "type": "color"
    },
    {
      "default": 1.15,
      "id": "iridescence",
      "label": "薄膜干涉虹彩强度",
      "max": 1.5,
      "min": 0,
      "type": "number"
    },
    {
      "default": 1.15,
      "id": "prismScale",
      "label": "虹彩波段密度",
      "max": 3,
      "min": 0.3,
      "type": "number"
    },
    {
      "default": 0.9,
      "id": "sweepSpeed",
      "label": "光角流转速度",
      "max": 4,
      "min": 0,
      "type": "number"
    },
    {
      "default": 0.45,
      "id": "gratingStrength",
      "label": "衍射光栅丝纹",
      "max": 1,
      "min": 0,
      "type": "number"
    },
    {
      "default": 0.85,
      "id": "glitterAmount",
      "label": "星点闪粉微粒",
      "max": 1.5,
      "min": 0,
      "type": "number"
    },
    {
      "default": 0.95,
      "id": "bevelGloss",
      "label": "3D 浮雕边缘高光",
      "max": 1.5,
      "min": 0,
      "type": "number"
    }
  ],
  "files": [
    {
      "path": "README.md",
      "role": "asset",
      "sizeBytes": 1892,
      "sha256": "71a37e8bb7c0f05cb4dccbfe7899030bf31cb6b6608b70810ab23abe4925a6d6"
    },
    {
      "path": "graphs/holographic-prism-material.graph.json",
      "role": "graph",
      "sizeBytes": 2374,
      "sha256": "f24d20a33a26f8abcf34b8e26fbd608c27ac3df9a6b0fec51e93eda738e38b4a"
    },
    {
      "path": "shaders/cov-to-color.program.json",
      "role": "shaderProgram",
      "sizeBytes": 192,
      "sha256": "a4b5a66c8a0470e1bfddcf8453844e6eb7765d764bf6c6b76ad085f80e196d50"
    },
    {
      "path": "shaders/cov-to-color.sksl",
      "role": "shader",
      "sizeBytes": 143,
      "sha256": "ae3d506fa75c2a6bf41310c909589f990df77f315a2099452cae5966252d8d8f"
    },
    {
      "path": "shaders/holographic-prism-material.program.json",
      "role": "shaderProgram",
      "sizeBytes": 683,
      "sha256": "158192580dbf0e688041e6f0f37863300aa05f350ba669d88fbdd68578334445"
    },
    {
      "path": "shaders/holographic-prism-material.sksl",
      "role": "shader",
      "sizeBytes": 7159,
      "sha256": "938774c3bb3e984d20a107b4e778713e77d636c71b1046ce3f54f567305b48ae"
    }
  ],
  "readmeMarkdown": "# 全息镭射棱镜材质（Holographic Prism Material）\n\n一款结合物理**薄膜干涉光谱（Thin-Film Interference）**、**3D 浮雕倒角法线**、**斜向激光衍射光栅**与**动态星点闪粉微粒**的官方全息镭射纯材质包，零背景依赖、**普通与透明通道下均可完整渲染**。\n\n## 效果特点\n\n- **物理薄膜干涉虹彩**：依据 3D 浮雕表面法线、光角流转与柔和液态光程差计算三波长干涉光谱，在青蓝、珍珠紫、玫瑰粉与香槟金之间如丝绸般自然过渡，告别刺眼廉价彩虹条。\n- **动态 3D 闪粉微粒（Glitter Micro-Flakes）**：每个微晶格拥有独立随机 3D 切面法线，随虚拟舞台光角旋摆逐点闪耀钻石星光，呈现实体典藏镭射卡片与唱片烫印质感。\n- **斜向衍射微光栅**：模拟激光压印全息箔的细腻斜向光栅丝纹，并按画布高度自适应防止摩尔纹。\n- **双色基底兼容**：默认珍珠银基底清透百搭；将 `baseColor` 调为黑曜石深色（如 `#161826`）可瞬间切换为赛博黑金全息镭射风！\n\n## 参数说明\n\n| 参数 | 默认值 | 说明 |\n| :--- | :--- | :--- |\n| 镭射基底色 (`baseColor`) | 深空银灰 | 底层镀膜色，深色呈现高对比全息镭射、浅色呈现柔光珍珠虹彩 |\n| 薄膜干涉虹彩强度 (`iridescence`) | `1.15` | 薄膜干涉七彩光谱的饱和与显色强度 |\n| 虹彩波段密度 (`prismScale`) | `1.15` | 虹彩色带的空间循环频率 |\n| 光角流转速度 (`sweepSpeed`) | `0.90` | 虚拟光角摆动、镭射光带与闪粉闪烁速率 |\n| 衍射光栅丝纹 (`gratingStrength`) | `0.45` | 斜向激光全息微光栅纹理可见度 |\n| 星点闪粉微粒 (`glitterAmount`) | `0.85` | 动态微晶闪粉钻光强度 |\n| 3D 浮雕边缘高光 (`bevelGloss`) | `0.95` | 字形立体倒角镜面高光与菲涅尔棱镜边光强度 |\n"
}
