{
  "nodes": [
    {
      "id": "output",
      "type": "output",
      "label": "Output",
      "position": {
        "x": 599,
        "y": 201
      },
      "source": "node-1780275318439",
      "sourceOutput": "color0"
    },
    {
      "id": "node-1780275318439",
      "type": "fullscreen",
      "label": "Fullscreen",
      "position": {
        "x": 343,
        "y": 194
      },
      "inputs": [
        {
          "name": "t_input",
          "type": "texture",
          "connection": "srt-1780275330901",
          "connectionOutput": "color0"
        },
        {
          "name": "whitepoint",
          "type": "color",
          "colorValue": [
            2,
            2,
            2,
            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": [
        "model-1780275371401"
      ],
      "modelTransformConnection": null
    },
    {
      "id": "srt-1780275330901",
      "type": "shared_target",
      "label": "Target",
      "position": {
        "x": 128,
        "y": 324
      },
      "sharedTargetRef": "hdr"
    },
    {
      "id": "geo-1780275371400",
      "type": "geometry_builtin",
      "label": "Geometry",
      "position": {
        "x": -168,
        "y": 161
      },
      "primitiveType": "plane",
      "geometryParams": [
        {
          "name": "width",
          "label": "width",
          "type": "float",
          "floatValue": 4.01,
          "floatMin": 0.01,
          "floatMax": 20
        },
        {
          "name": "height",
          "label": "height",
          "type": "float",
          "floatValue": 4.01,
          "floatMin": 0.01,
          "floatMax": 20
        },
        {
          "name": "subdivX",
          "label": "subdiv X",
          "type": "float",
          "floatValue": 64,
          "floatMin": 1,
          "floatMax": 64
        },
        {
          "name": "subdivY",
          "label": "subdiv Y",
          "type": "float",
          "floatValue": 64,
          "floatMin": 1,
          "floatMax": 64
        }
      ]
    },
    {
      "id": "model-1780275371401",
      "type": "model",
      "label": "Model",
      "position": {
        "x": -173,
        "y": 321
      },
      "inputs": [
        {
          "name": "u_iblStrength",
          "type": "float",
          "floatValue": 4,
          "floatMin": 0,
          "floatMax": 1
        },
        {
          "name": "u_sunStrength",
          "type": "float",
          "floatValue": 4,
          "floatMin": 0,
          "floatMax": 1
        },
        {
          "name": "u_frontColor",
          "type": "texture",
          "connection": "srt-1780275758261",
          "connectionOutput": "color0"
        },
        {
          "name": "u_frontPosition",
          "type": "texture",
          "connection": "srt-1780275765494",
          "connectionOutput": "color0"
        },
        {
          "name": "u_stage",
          "type": "float",
          "floatValue": 0,
          "floatMin": 0,
          "floatMax": 1
        },
        {
          "name": "u_substage",
          "type": "float",
          "floatValue": 0,
          "floatMin": 0,
          "floatMax": 1
        },
        {
          "name": "u_refractionStrength",
          "type": "float",
          "floatValue": 10,
          "floatMin": 0,
          "floatMax": 1
        },
        {
          "name": "u_reflectionHdr",
          "type": "cubemap",
          "connection": "cube-1780276118173",
          "connectionOutput": "color0"
        },
        {
          "name": "u_sunColor",
          "type": "color",
          "colorValue": [
            1,
            1,
            1,
            1
          ]
        },
        {
          "name": "u_irradiance",
          "type": "cubemap",
          "connection": "cube-1780276132115",
          "connectionOutput": "color0"
        },
        {
          "name": "u_radiance",
          "type": "cubemap",
          "connection": "cube-1780276118173",
          "connectionOutput": "color0"
        }
      ],
      "outputs": [
        {
          "name": "color0",
          "format": "rgba8",
          "sharedTarget": "hdr",
          "targetConnection": null,
          "targetConnectionHandle": null
        }
      ],
      "fragPath": "lab/shaders/water/water.frag.glsl",
      "vertPath": "lab/shaders/water/water.vert.glsl",
      "modelPath": "",
      "cullFace": "back",
      "blendMode": "off",
      "depthAttachment": {
        "enabled": true,
        "format": "depth32f",
        "sharedTarget": "depth",
        "depthTest": true,
        "depthWrite": true
      },
      "depSources": [
        "blit-1780275796836"
      ],
      "modelConnection": "geo-1780275371400",
      "modelTransformConnection": null
    },
    {
      "id": "srt-1780275758261",
      "type": "shared_target",
      "label": "Target",
      "position": {
        "x": -427,
        "y": 460
      },
      "sharedTargetRef": "front_color"
    },
    {
      "id": "srt-1780275765494",
      "type": "shared_target",
      "label": "Target",
      "position": {
        "x": -428,
        "y": 531
      },
      "sharedTargetRef": "front_position"
    },
    {
      "id": "model-1780275796834",
      "type": "model",
      "label": "Model",
      "position": {
        "x": -1054,
        "y": 471
      },
      "inputs": [
        {
          "name": "t_brdf",
          "type": "texture",
          "connection": "tex-1780276058776",
          "connectionOutput": "color0"
        },
        {
          "name": "t_irradiance",
          "type": "cubemap",
          "connection": "cube-1780276072891",
          "connectionOutput": "color0"
        },
        {
          "name": "t_radiance",
          "type": "cubemap",
          "connection": "cube-1780276086063",
          "connectionOutput": "color0"
        }
      ],
      "outputs": [
        {
          "name": "color0",
          "format": "rgba8",
          "sharedTarget": "front_color",
          "targetConnection": null,
          "targetConnectionHandle": null
        },
        {
          "name": "color1",
          "format": "rgba8",
          "sharedTarget": "front_position",
          "targetConnection": null,
          "targetConnectionHandle": null
        }
      ],
      "fragPath": "lab/shaders/water/ground.frag.glsl",
      "vertPath": "lab/shaders/water/ground.vert.glsl",
      "modelPath": "",
      "cullFace": "back",
      "blendMode": "off",
      "depthAttachment": {
        "enabled": true,
        "format": "depth24",
        "sharedTarget": "depth",
        "depthTest": true,
        "depthWrite": true
      },
      "depSources": [
        "node-1780275887160"
      ],
      "modelConnection": "geo-1780275796835",
      "modelTransformConnection": null
    },
    {
      "id": "geo-1780275796835",
      "type": "geometry_builtin",
      "label": "Geometry",
      "position": {
        "x": -1123,
        "y": 295
      },
      "primitiveType": "plane",
      "geometryParams": [
        {
          "name": "width",
          "label": "width",
          "type": "float",
          "floatValue": 4.01,
          "floatMin": 0.01,
          "floatMax": 20
        },
        {
          "name": "height",
          "label": "height",
          "type": "float",
          "floatValue": 4.01,
          "floatMin": 0.01,
          "floatMax": 20
        },
        {
          "name": "subdivX",
          "label": "subdiv X",
          "type": "float",
          "floatValue": 64,
          "floatMin": 1,
          "floatMax": 64
        },
        {
          "name": "subdivY",
          "label": "subdiv Y",
          "type": "float",
          "floatValue": 64,
          "floatMin": 1,
          "floatMax": 64
        }
      ]
    },
    {
      "id": "blit-1780275796836",
      "type": "blit",
      "label": "Blit",
      "position": {
        "x": -688,
        "y": 379
      },
      "source": "model-1780275796834",
      "sourceOutput": "color0",
      "blitTarget": "hdr"
    },
    {
      "id": "node-1780275887160",
      "type": "fullscreen",
      "label": "Fullscreen",
      "position": {
        "x": -1498,
        "y": 344
      },
      "inputs": [
        {
          "name": "t_sky",
          "type": "cubemap",
          "connection": "cube-1780276034541",
          "connectionOutput": "color0"
        },
        {
          "name": "u_roughness",
          "type": "float",
          "floatValue": 0.2,
          "floatMin": 0,
          "floatMax": 1
        },
        {
          "name": "u_strength",
          "type": "float",
          "floatValue": 1,
          "floatMin": 0,
          "floatMax": 1
        }
      ],
      "outputs": [
        {
          "name": "color0",
          "format": "rgba8",
          "sharedTarget": "front_color",
          "targetConnection": null,
          "targetConnectionHandle": null
        }
      ],
      "fragPath": "lab/shaders/sky.frag.glsl",
      "blendMode": "off",
      "depthAttachment": null,
      "depSources": [
        "dep-1780275937563"
      ],
      "modelTransformConnection": null
    },
    {
      "id": "clear-1780275930140",
      "type": "clear",
      "label": "Clear",
      "position": {
        "x": -1953,
        "y": 254
      },
      "clearTarget": "hdr",
      "clearFormat": "color",
      "clearColor": [
        0,
        0,
        0,
        1
      ],
      "clearDepth": 1
    },
    {
      "id": "clear-1780275930141",
      "type": "clear",
      "label": "Clear",
      "position": {
        "x": -1978,
        "y": 579
      },
      "clearTarget": "front_color",
      "clearFormat": "color",
      "clearColor": [
        0,
        0,
        0,
        1
      ],
      "clearDepth": 1
    },
    {
      "id": "clear-1780275930142",
      "type": "clear",
      "label": "Clear",
      "position": {
        "x": -1986,
        "y": 424
      },
      "clearTarget": "front_position",
      "clearFormat": "color",
      "clearColor": [
        0,
        0,
        0,
        1
      ],
      "clearDepth": 1
    },
    {
      "id": "clear-1780275930143",
      "type": "clear",
      "label": "Clear",
      "position": {
        "x": -1977,
        "y": 750
      },
      "clearTarget": "depth",
      "clearFormat": "depth",
      "clearColor": [
        0,
        0,
        0,
        1
      ],
      "clearDepth": 1
    },
    {
      "id": "dep-1780275937563",
      "type": "dep_forward",
      "label": "Dep",
      "position": {
        "x": -1701,
        "y": 407
      },
      "depSources": [
        "clear-1780275930140",
        "clear-1780275930142",
        "clear-1780275930141",
        "clear-1780275930143"
      ]
    },
    {
      "id": "cube-1780276034541",
      "type": "cubemap_asset",
      "label": "Cubemap",
      "position": {
        "x": -1622,
        "y": 226
      },
      "cubemapPath": "lab/cubemaps/pizzo_pernice_puresky_2k_base_radiance.ktx2"
    },
    {
      "id": "tex-1780276058776",
      "type": "texture_asset",
      "label": "Texture",
      "position": {
        "x": -1391,
        "y": 705
      },
      "texturePath": "lab/textures/IntegratedBRDF.ktx2"
    },
    {
      "id": "cube-1780276072891",
      "type": "cubemap_asset",
      "label": "Cubemap",
      "position": {
        "x": -1506,
        "y": 792
      },
      "cubemapPath": "lab/cubemaps/the_sky_is_on_fire_2k_base_irradiance.ktx2"
    },
    {
      "id": "cube-1780276086063",
      "type": "cubemap_asset",
      "label": "Cubemap",
      "position": {
        "x": -1496,
        "y": 916
      },
      "cubemapPath": "lab/cubemaps/the_sky_is_on_fire_2k_base_radiance.ktx2"
    },
    {
      "id": "cube-1780276118173",
      "type": "cubemap_asset",
      "label": "Cubemap",
      "position": {
        "x": -653,
        "y": 625
      },
      "cubemapPath": "lab/cubemaps/pizzo_pernice_puresky_2k_base_radiance.ktx2"
    },
    {
      "id": "cube-1780276132115",
      "type": "cubemap_asset",
      "label": "Cubemap",
      "position": {
        "x": -657,
        "y": 715
      },
      "cubemapPath": "lab/cubemaps/pizzo_pernice_puresky_2k_base_irradiance.ktx2"
    }
  ],
  "targets": [
    {
      "name": "ldr",
      "format": "rgba8"
    },
    {
      "name": "hdr",
      "format": "rgba32f"
    },
    {
      "name": "front_color",
      "format": "rgba32f"
    },
    {
      "name": "front_position",
      "format": "rgba32f"
    },
    {
      "name": "depth",
      "format": "depth32f"
    }
  ]
}