Skip to content

armgit / kiln

Public Imported from GitHub
0

Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.

6.0 KB
Raw Blame
{
  "schemaVersion": 1,
  "materialId": "farm-charcoal-roof",
  "revisionId": "sha256:ff552c543e787c67a870286f2eb1fab3a342891a4f7b41675a07943fad550f85",
  "name": "Farm charcoal roof shingles",
  "tags": [
    "roof",
    "shingle",
    "procedural",
    "farmhouse"
  ],
  "tileable": true,
  "physicalSizeMeters": {
    "width": 1,
    "height": 1
  },
  "parameters": {
    "baseColor": 16777215,
    "roughness": 1,
    "metalness": 0,
    "emissiveIntensity": 1,
    "alphaMode": "opaque",
    "alphaCutoff": 0.5,
    "doubleSided": false
  },
  "sources": [
    {
      "id": "procedural",
      "kind": "procedural",
      "provider": "Kiln procedural texture v2",
      "creator": "Kiln Commons Farm",
      "license": {
        "spdx": "CC0-1.0",
        "url": "https://creativecommons.org/publicdomain/zero/1.0/",
        "attribution": "Original procedural recipe by Kiln Commons Farm (opus-farmhouse, claude-opus-5-5); seed 4202 retained."
      },
      "originalFiles": []
    }
  ],
  "maps": [
    {
      "slot": "baseColor",
      "file": "baseColor.png",
      "sha256": "sha256:262c255a3ea9f242739e68d284b4b58e5208b151332c988eaae57364f6a72816",
      "bytes": 12105,
      "width": 256,
      "height": 256,
      "usage": "albedo",
      "colorSpace": "srgb",
      "sourceId": "procedural",
      "transforms": [
        {
          "operation": "procedural-recipe",
          "tool": "kiln_material create-procedural",
          "version": "1",
          "parameters": {
            "courseHeightM": 0.2,
            "seed": 4202,
            "shingleWidthM": 0.25
          }
        }
      ],
      "procedural": {
        "compiler": "kiln.procedural-texture.v2",
        "spec": {
          "schemaVersion": 2,
          "size": 256,
          "usage": "albedo",
          "name": "charcoal-roof-albedo",
          "layers": [
            {
              "op": "solid",
              "color": 4803405,
              "blend": "normal",
              "opacity": 1
            },
            {
              "op": "bricks",
              "brick": 5132370,
              "mortar": 3487546,
              "rows": 5,
              "cols": 4,
              "mortarWidth": 0.07,
              "stagger": 0.5,
              "blend": "normal",
              "opacity": 0.8
            },
            {
              "op": "noise",
              "colorA": 4211268,
              "colorB": 5592922,
              "scale": 8,
              "octaves": 3,
              "seed": 4202,
              "blend": "normal",
              "opacity": 0.4
            }
          ]
        },
        "recipeHash": "sha256:a54f26b3f67a24910f9e10227f8c0225012b60dc926b40603ffcb0b29de6b881",
        "pixelHash": "sha256:4a99fa4833e4db88e5235236066fd6ea2aafd95108e7b15a5d788a9f2f1cc491",
        "encoder": {
          "name": "sharp",
          "version": "0.35.4"
        }
      }
    },
    {
      "slot": "normal",
      "file": "normal.png",
      "sha256": "sha256:b9a4ee602028c7628d345dee349509a287f562b71290f36d7ee0e9e6870d3d71",
      "bytes": 24654,
      "width": 256,
      "height": 256,
      "usage": "normal",
      "colorSpace": "linear",
      "normalConvention": "opengl",
      "sourceId": "procedural",
      "transforms": [
        {
          "operation": "procedural-recipe",
          "tool": "kiln_material create-procedural",
          "version": "1",
          "parameters": {
            "seed": 4202
          }
        }
      ],
      "procedural": {
        "compiler": "kiln.procedural-texture.v2",
        "spec": {
          "schemaVersion": 2,
          "size": 256,
          "usage": "normal",
          "name": "charcoal-roof-height",
          "layers": [
            {
              "op": "bricks",
              "brick": 11579568,
              "mortar": 4210752,
              "rows": 5,
              "cols": 4,
              "mortarWidth": 0.07,
              "stagger": 0.5,
              "blend": "normal",
              "opacity": 1
            },
            {
              "op": "noise",
              "colorA": 9474192,
              "colorB": 11579568,
              "scale": 12,
              "octaves": 3,
              "seed": 4202,
              "blend": "normal",
              "opacity": 0.35
            }
          ]
        },
        "derive": {
          "kind": "normal-from-height",
          "strength": 2.5
        },
        "recipeHash": "sha256:1a475bf9e382b3cea133c45c3d7f231d72dc7373e68f39bc8d2d71298e518586",
        "pixelHash": "sha256:7028aaa426d4e9e4e83b508bdbd8af752dc4840c050c5d7d98c2aff8c2e3415f",
        "encoder": {
          "name": "sharp",
          "version": "0.35.4"
        }
      }
    },
    {
      "slot": "metallicRoughness",
      "file": "metallicRoughness.png",
      "sha256": "sha256:4b64e7fb17694b6aeed7a92a17ccf6d95c436d0a57a8f2d81aca5272d9212aa0",
      "bytes": 4257,
      "width": 128,
      "height": 128,
      "usage": "metallicRoughness",
      "colorSpace": "linear",
      "channelPacking": "r-occlusion-g-roughness-b-metallic",
      "sourceId": "procedural",
      "transforms": [
        {
          "operation": "procedural-recipe",
          "tool": "kiln_material create-procedural",
          "version": "1",
          "parameters": {
            "seed": 4202
          }
        }
      ],
      "procedural": {
        "compiler": "kiln.procedural-texture.v2",
        "spec": {
          "schemaVersion": 2,
          "size": 128,
          "usage": "metallicRoughness",
          "name": "charcoal-roof-mr",
          "layers": [
            {
              "op": "noise",
              "colorA": 16768000,
              "colorB": 16772864,
              "scale": 8,
              "octaves": 2,
              "seed": 4202,
              "blend": "normal",
              "opacity": 1
            }
          ]
        },
        "recipeHash": "sha256:d6249feb130c8c6849f02de0a50121e07b1c7f622bad4eb973910bc3e18b1e0e",
        "pixelHash": "sha256:7cdf6d19881b6498f7fd8c078087ddf57189f32f6558d2ddd821581d402c10d5",
        "encoder": {
          "name": "sharp",
          "version": "0.35.4"
        }
      }
    }
  ]
}