{
  "nodes": [
    {
      "id": "output",
      "type": "output",
      "label": "Output",
      "position": {
        "x": 1846,
        "y": 185
      },
      "source": "srt-1780519874590",
      "sourceOutput": "color0",
      "depSources": [
        "node-1780519891573"
      ]
    },
    {
      "id": "gscript-1780519637876",
      "type": "geometry_script",
      "label": "Geo Script",
      "position": {
        "x": 529,
        "y": -104
      },
      "luaPath": "lab/geometry/torus-knot.lua",
      "scriptParams": [
        {
          "name": "p",
          "label": "p (longitude)",
          "type": "float",
          "floatMin": 1,
          "floatMax": 8,
          "floatValue": 2
        },
        {
          "name": "q",
          "label": "q (meridian)",
          "type": "float",
          "floatMin": 1,
          "floatMax": 8,
          "floatValue": 3
        },
        {
          "name": "tube",
          "label": "Tube radius",
          "type": "float",
          "floatMin": 0.02,
          "floatMax": 0.6,
          "floatValue": 0.19
        },
        {
          "name": "path_segs",
          "label": "Path segments",
          "type": "float",
          "floatMin": 32,
          "floatMax": 400,
          "floatValue": 318
        },
        {
          "name": "ring_segs",
          "label": "Ring segments",
          "type": "float",
          "floatMin": 3,
          "floatMax": 48,
          "floatValue": 32
        },
        {
          "name": "twist",
          "label": "Twist",
          "type": "float",
          "floatMin": 0,
          "floatMax": 12,
          "floatValue": 0
        },
        {
          "name": "col_a",
          "label": "Color A",
          "type": "color",
          "colorValue": [
            0.95,
            0.45,
            0.1,
            1
          ]
        },
        {
          "name": "col_b",
          "label": "Color B",
          "type": "color",
          "colorValue": [
            0.15,
            0.55,
            0.95,
            1
          ]
        }
      ]
    },
    {
      "id": "node-1780519675096",
      "type": "model",
      "label": "Model",
      "position": {
        "x": 723,
        "y": 193
      },
      "inputs": [
        {
          "name": "t_brdf",
          "type": "texture",
          "connection": "tex-1780521399544",
          "connectionOutput": "color0"
        },
        {
          "name": "t_radiance",
          "type": "cubemap",
          "connection": "ca-1780521422419",
          "connectionOutput": "color0"
        },
        {
          "name": "t_irradiance",
          "type": "cubemap",
          "connection": "cube-1780521412894",
          "connectionOutput": "color0"
        }
      ],
      "outputs": [
        {
          "name": "color0",
          "format": "rgba8",
          "sharedTarget": "hdr",
          "targetConnection": null,
          "targetConnectionHandle": null
        }
      ],
      "fragPath": "lab/shaders/torus-knot/torus-knot.frag.glsl",
      "vertPath": "lab/shaders/torus-knot/torus-knot.vert.glsl",
      "modelPath": "",
      "cullFace": "back",
      "blendMode": "off",
      "depthAttachment": {
        "enabled": true,
        "format": "depth24",
        "sharedTarget": "depth",
        "depthTest": true,
        "depthWrite": true
      },
      "depSources": [
        "node-1780521362734"
      ],
      "modelConnection": "gscript-1780519637876",
      "modelTransformConnection": "xform-1780521691561"
    },
    {
      "id": "srt-1780519874590",
      "type": "shared_target",
      "label": "Target",
      "position": {
        "x": 1569,
        "y": 177
      },
      "sharedTargetRef": "ldr"
    },
    {
      "id": "node-1780519891573",
      "type": "fullscreen",
      "label": "Fullscreen",
      "position": {
        "x": 1286,
        "y": 209
      },
      "inputs": [
        {
          "name": "t_input",
          "type": "texture",
          "connection": "srt-1780519911488",
          "connectionOutput": "color0"
        },
        {
          "name": "whitepoint",
          "type": "color",
          "colorValue": [
            7,
            7,
            7,
            1
          ]
        },
        {
          "name": "exposure",
          "type": "float",
          "floatValue": 1,
          "floatMin": 0,
          "floatMax": 1
        }
      ],
      "outputs": [
        {
          "name": "color0",
          "format": "rgba8",
          "sharedTarget": "ldr",
          "targetConnection": null,
          "targetConnectionHandle": null
        }
      ],
      "fragPath": "lab/shaders/tonemap.frag.glsl",
      "blendMode": "off",
      "depthAttachment": null,
      "depSources": [
        "node-1780519675096"
      ],
      "modelTransformConnection": null
    },
    {
      "id": "srt-1780519911488",
      "type": "shared_target",
      "label": "Target",
      "position": {
        "x": 1030,
        "y": 313
      },
      "sharedTargetRef": "hdr"
    },
    {
      "id": "clear-1780521338454",
      "type": "clear",
      "label": "Clear",
      "position": {
        "x": -477,
        "y": 339
      },
      "clearTarget": "depth",
      "clearFormat": "color",
      "clearColor": [
        0,
        0,
        0,
        1
      ],
      "clearDepth": 1,
      "depSources": [
        "clear-1780521343250"
      ]
    },
    {
      "id": "clear-1780521343250",
      "type": "clear",
      "label": "Clear",
      "position": {
        "x": -738,
        "y": 340
      },
      "clearTarget": "hdr",
      "clearFormat": "color",
      "clearColor": [
        0,
        0,
        0,
        1
      ],
      "clearDepth": 1
    },
    {
      "id": "node-1780521362734",
      "type": "fullscreen",
      "label": "Fullscreen",
      "position": {
        "x": -58,
        "y": 245
      },
      "inputs": [
        {
          "name": "t_sky",
          "type": "cubemap",
          "connection": "ca-1780521362735",
          "connectionOutput": "color0"
        },
        {
          "name": "u_strength",
          "type": "float",
          "floatValue": 1.5,
          "floatMin": 0,
          "floatMax": 1
        },
        {
          "name": "u_roughness",
          "type": "float",
          "floatValue": 0.7,
          "floatMin": 0,
          "floatMax": 1
        }
      ],
      "outputs": [
        {
          "name": "color0",
          "format": "rgba8",
          "sharedTarget": "hdr",
          "targetConnection": null,
          "targetConnectionHandle": null
        }
      ],
      "fragPath": "lab/shaders/sky.frag.glsl",
      "blendMode": "off",
      "depthAttachment": null,
      "depSources": [
        "clear-1780521338454"
      ],
      "modelTransformConnection": null
    },
    {
      "id": "ca-1780521362735",
      "type": "cubemap_asset",
      "label": "Cubemap",
      "position": {
        "x": -151,
        "y": 580
      },
      "cubemapPath": "lab/cubemaps/the_sky_is_on_fire_2k_base_radiance.ktx2"
    },
    {
      "id": "tex-1780521399544",
      "type": "texture_asset",
      "label": "Texture",
      "position": {
        "x": 398,
        "y": 317
      },
      "texturePath": "lab/textures/IntegratedBRDF.ktx2"
    },
    {
      "id": "cube-1780521412894",
      "type": "cubemap_asset",
      "label": "Cubemap",
      "position": {
        "x": 340,
        "y": 496
      },
      "cubemapPath": "lab/cubemaps/the_sky_is_on_fire_2k_base_irradiance.ktx2"
    },
    {
      "id": "ca-1780521422419",
      "type": "cubemap_asset",
      "label": "Cubemap",
      "position": {
        "x": 347,
        "y": 393
      },
      "cubemapPath": "lab/cubemaps/the_sky_is_on_fire_2k_base_radiance.ktx2"
    },
    {
      "id": "xform-1780521691561",
      "type": "math_make_transform",
      "label": "Make Transform",
      "position": {
        "x": 182,
        "y": -3
      },
      "mathInputs": [
        {
          "name": "position",
          "type": "vec3",
          "vec3Value": [
            0,
            0,
            0
          ],
          "connection": null,
          "connectionOutput": null
        },
        {
          "name": "rotation",
          "type": "quat",
          "quatValue": [
            0,
            0,
            0,
            1
          ],
          "connection": "quat-1780521705162",
          "connectionOutput": "out"
        },
        {
          "name": "scale",
          "type": "vec3",
          "vec3Value": [
            1,
            1,
            1
          ],
          "connection": null,
          "connectionOutput": null
        }
      ],
      "mathOutputs": [
        {
          "name": "out",
          "valueType": "transform"
        }
      ]
    },
    {
      "id": "quat-1780521705162",
      "type": "math_make_quat_axis_angle",
      "label": "Quat Axis Angle",
      "position": {
        "x": -137,
        "y": -14
      },
      "mathInputs": [
        {
          "name": "axis",
          "type": "vec3",
          "vec3Value": [
            0,
            1,
            0
          ],
          "connection": null,
          "connectionOutput": null
        },
        {
          "name": "angle",
          "type": "float",
          "floatValue": 0,
          "connection": "builtins-1780521723083",
          "connectionOutput": "time"
        }
      ],
      "mathOutputs": [
        {
          "name": "out",
          "valueType": "quat"
        }
      ]
    },
    {
      "id": "builtins-1780521723083",
      "type": "builtins",
      "label": "Builtins",
      "position": {
        "x": -394,
        "y": -72
      },
      "mathOutputs": [
        {
          "name": "resolution",
          "valueType": "vec2"
        },
        {
          "name": "time",
          "valueType": "float"
        },
        {
          "name": "mouse",
          "valueType": "vec4"
        },
        {
          "name": "frame",
          "valueType": "float"
        },
        {
          "name": "frame_i",
          "valueType": "int"
        }
      ]
    }
  ],
  "targets": [
    {
      "name": "hdr",
      "format": "rgba32f"
    },
    {
      "name": "ldr",
      "format": "rgba8"
    },
    {
      "name": "depth",
      "format": "depth32f"
    }
  ]
}