Skip to content

00 · External starter ​

This independent external pack is the starting source for the course. It declares four Terrain fallback routes, two persistent textures, a frame target and one pack-owned present Program. It has no optional effect or configuration branch.

Static evidence only

Static checks passed. Runtime observations are recorded separately in the course, tied to the tested host and exact source identity. Follow chapter 00 for loading instructions.

Open chapter 00: load the pack

Download and identity ​

Download starter ZIP · Source inventory and snippet map · Static validation receipt

Extract into a new directory. The archive root contains shaderpack.json, README.md and shaders/; another course chapter is not required. This is an external pack with two textures, so it does not have the zero-extension resource footprint of BuiltIn Minimal.

Archive SHA-256:

432356b77d9247a98a764064b5cc7a290d033ad609064b4edaedf62d63bbe034

Source fingerprint:

a85731589fbb852352a486c378d51cb49a6b27e38a749aaf16a199bf98ba12be

The source fingerprint covers the baseline, example ID and exact file bytes. It is distinct from the Loader canonical manifest hash and the ZIP hash.

Source files ​

Website source · Manifest v5 / Scene ABI v2 · docs-tools-f8aaa5c4-w1.1

FileBytesSHA-256
README.md2581f7eb49f0f4b0…
shaderpack.json859224aea018e57e…
shaders/fullscreen.vsh29877e9c0fcd780…
shaders/present.psh183e4237dad4d34…

Own the frame target ​

This is the value of /frameTarget, extracted from the complete manifest. The frame begins with a cleared color/depth topology. The opaque Terrain command also clears depth as required by this Scene ABI; Terrain colors load the existing frame color. This configuration describes ownership; it does not establish that all world renderers behave correctly in-game.

json
{
  "targets": {
    "colors": [
      {
        "location": 0,
        "resource": "course:scene/color",
        "loadOp": "clear",
        "storeOp": "store",
        "clearValue": [
          0,
          0,
          0,
          1
        ]
      }
    ],
    "depth": {
      "resource": "course:scene/depth",
      "loadOp": "clear",
      "storeOp": "store",
      "clearValue": 1
    }
  }
}

Explicit Terrain routes ​

Every category uses builtin. Each also has one declaration-only engineDraw command in the full manifest. Dawnlight materializes its category-specific fallback Program; the pack does not copy the built-in shader sources.

json
[
  {
    "id": "dawnlight:scene/terrain_opaque",
    "version": 1,
    "mode": "builtin"
  },
  {
    "id": "dawnlight:scene/terrain_alpha_tested",
    "version": 1,
    "mode": "builtin"
  },
  {
    "id": "dawnlight:scene/terrain_transparent",
    "version": 1,
    "mode": "builtin"
  },
  {
    "id": "dawnlight:scene/terrain_sorted_translucent",
    "version": 1,
    "mode": "builtin"
  }
]

Pack-owned shaders ​

The vertex shader generates a fullscreen quad from gl_VertexID. The fragment shader samples scene color without an extra color transform. These files belong to the pack source owner.

glsl
#version 320 es
precision highp float;
out vec2 v_uv;
void main() {
    const vec2 corners[4] = vec2[4](vec2(-1.0, -1.0), vec2(1.0, -1.0), vec2(-1.0, 1.0), vec2(1.0, 1.0));
    vec2 position = corners[gl_VertexID & 3];
    v_uv = position * 0.5 + 0.5;
    gl_Position = vec4(position, 0.0, 1.0);
}
glsl
#version 320 es
precision highp float;
uniform sampler2D u_sceneColor;
in vec2 v_uv;
layout(location = 0) out vec4 o_color;
void main() {
    o_color = texture(u_sceneColor, v_uv);
}

Complete manifest ​

shaderpack.json
json
{
  "manifestVersion": 5,
  "sceneAbiVersion": 2,
  "expectedCatalogSha256": "4bc28c17beffea2311a422fff9f633d2e4f03784460d0254adda8af2e766d84c",
  "id": "course:starter",
  "name": "DawnlightCore Course Starter",
  "version": "0.1.0",
  "author": "EltanceX",
  "description": "External v5 starter with explicit built-in terrain routes and frame target.",
  "shaderRoot": "shaders",
  "options": [],
  "resources": [
    {
      "id": "course:scene/color",
      "kind": "texture2D",
      "lifetime": "persistent",
      "size": {
        "mode": "viewport"
      },
      "format": "rgba8"
    },
    {
      "id": "course:scene/depth",
      "kind": "texture2D",
      "lifetime": "persistent",
      "size": {
        "mode": "viewport"
      },
      "format": "depth24"
    }
  ],
  "programs": [
    {
      "id": "course:post/present",
      "kind": "graphics",
      "vertex": "fullscreen.vsh",
      "fragment": "present.psh",
      "compileMode": "manifestDriven"
    }
  ],
  "frameTarget": {
    "targets": {
      "colors": [
        {
          "location": 0,
          "resource": "course:scene/color",
          "loadOp": "clear",
          "storeOp": "store",
          "clearValue": [
            0,
            0,
            0,
            1
          ]
        }
      ],
      "depth": {
        "resource": "course:scene/depth",
        "loadOp": "clear",
        "storeOp": "store",
        "clearValue": 1
      }
    }
  },
  "passes": [
    {
      "id": "course:terrain_opaque",
      "enabled": true,
      "stage": {
        "template": "dawnlight:command_list",
        "version": 1,
        "target": "world",
        "phase": "opaque"
      },
      "services": [],
      "programs": [],
      "commands": [
        {
          "type": "engineDraw",
          "sceneProvider": {
            "id": "dawnlight:scene_draw/terrain_opaque",
            "version": 2
          },
          "targets": {
            "colors": [
              {
                "location": 0,
                "resource": "course:scene/color",
                "loadOp": "load",
                "storeOp": "store"
              }
            ],
            "depth": {
              "resource": "course:scene/depth",
              "loadOp": "clear",
              "storeOp": "store",
              "clearValue": 1
            }
          },
          "state": {
            "blend": "opaque",
            "depth": "default",
            "rasterizer": "cullCounterClockwiseScissor"
          },
          "viewport": {
            "source": "target",
            "restore": "frame",
            "synchronizeScissor": true
          }
        }
      ],
      "inputs": [
        "course:scene/color",
        "course:scene/depth"
      ],
      "outputs": [
        "course:scene/color",
        "course:scene/depth"
      ]
    },
    {
      "id": "course:terrain_alpha_tested",
      "enabled": true,
      "stage": {
        "template": "dawnlight:command_list",
        "version": 1,
        "target": "world",
        "phase": "opaque",
        "ordering": {
          "after": [
            "course:terrain_opaque"
          ]
        }
      },
      "services": [],
      "programs": [],
      "commands": [
        {
          "type": "engineDraw",
          "sceneProvider": {
            "id": "dawnlight:scene_draw/terrain_alpha_tested",
            "version": 2
          },
          "targets": {
            "colors": [
              {
                "location": 0,
                "resource": "course:scene/color",
                "loadOp": "load",
                "storeOp": "store"
              }
            ],
            "depth": {
              "resource": "course:scene/depth",
              "loadOp": "load",
              "storeOp": "store"
            }
          },
          "state": {
            "blend": "opaque",
            "depth": "default",
            "rasterizer": "cullCounterClockwiseScissor"
          },
          "viewport": {
            "source": "target",
            "restore": "frame",
            "synchronizeScissor": true
          }
        }
      ],
      "inputs": [
        "course:scene/color",
        "course:scene/depth"
      ],
      "outputs": [
        "course:scene/color",
        "course:scene/depth"
      ]
    },
    {
      "id": "course:terrain_transparent",
      "enabled": true,
      "stage": {
        "template": "dawnlight:command_list",
        "version": 1,
        "target": "world",
        "phase": "transparent"
      },
      "services": [],
      "programs": [],
      "commands": [
        {
          "type": "engineDraw",
          "sceneProvider": {
            "id": "dawnlight:scene_draw/terrain_transparent",
            "version": 2
          },
          "targets": {
            "colors": [
              {
                "location": 0,
                "resource": "course:scene/color",
                "loadOp": "load",
                "storeOp": "store"
              }
            ],
            "depth": {
              "resource": "course:scene/depth",
              "loadOp": "load",
              "storeOp": "store"
            }
          },
          "state": {
            "blend": "alphaBlend",
            "depth": "default",
            "rasterizer": "cullCounterClockwiseScissor"
          },
          "viewport": {
            "source": "target",
            "restore": "frame",
            "synchronizeScissor": true
          }
        }
      ],
      "inputs": [
        "course:scene/color",
        "course:scene/depth"
      ],
      "outputs": [
        "course:scene/color",
        "course:scene/depth"
      ]
    },
    {
      "id": "course:terrain_sorted_translucent",
      "enabled": true,
      "stage": {
        "template": "dawnlight:command_list",
        "version": 1,
        "target": "world",
        "phase": "transparent",
        "ordering": {
          "after": [
            "course:terrain_transparent"
          ]
        }
      },
      "services": [],
      "programs": [],
      "commands": [
        {
          "type": "engineDraw",
          "sceneProvider": {
            "id": "dawnlight:scene_draw/terrain_sorted_translucent",
            "version": 2
          },
          "targets": {
            "colors": [
              {
                "location": 0,
                "resource": "course:scene/color",
                "loadOp": "load",
                "storeOp": "store"
              }
            ],
            "depth": {
              "resource": "course:scene/depth",
              "loadOp": "load",
              "storeOp": "store"
            }
          },
          "state": {
            "blend": "alphaBlend",
            "depth": "default",
            "rasterizer": "cullCounterClockwiseScissor"
          },
          "viewport": {
            "source": "target",
            "restore": "frame",
            "synchronizeScissor": true
          }
        }
      ],
      "inputs": [
        "course:scene/color",
        "course:scene/depth"
      ],
      "outputs": [
        "course:scene/color",
        "course:scene/depth"
      ]
    },
    {
      "id": "course:present",
      "enabled": true,
      "stage": {
        "template": "dawnlight:command_list",
        "version": 1,
        "target": "afterDraw",
        "phase": "screenOutput"
      },
      "services": [],
      "programs": [
        "course:post/present"
      ],
      "commands": [
        {
          "type": "present",
          "program": "course:post/present",
          "bindings": [
            {
              "kind": "sampler2D",
              "symbol": "u_sceneColor",
              "binding": 0,
              "resource": "course:scene/color"
            }
          ],
          "state": {
            "blend": "opaque",
            "depth": "disabled",
            "rasterizer": "cullNoneScissor"
          },
          "viewport": {
            "source": "frame",
            "restore": "none",
            "synchronizeScissor": true
          }
        }
      ],
      "inputs": [
        "course:scene/color"
      ],
      "outputs": []
    }
  ],
  "sceneCategories": [
    {
      "id": "dawnlight:scene/terrain_opaque",
      "version": 1,
      "mode": "builtin"
    },
    {
      "id": "dawnlight:scene/terrain_alpha_tested",
      "version": 1,
      "mode": "builtin"
    },
    {
      "id": "dawnlight:scene/terrain_transparent",
      "version": 1,
      "mode": "builtin"
    },
    {
      "id": "dawnlight:scene/terrain_sorted_translucent",
      "version": 1,
      "mode": "builtin"
    }
  ]
}

What was checked ​

The pinned Analyzer ran the following commands on both the source directory and a freshly extracted ZIP. File hashes, canonical manifest hashes and normalized Analyzer outputs match. The receipt binds the source fingerprint, archive SHA-256 and tool inventory SHA-256.

powershell
shaderpack-analyzer.exe pack validate . --format json
shaderpack-analyzer.exe scene explain . --include-inactive --format json
shaderpack-analyzer.exe graph dump . --contract 2 --include-inactive
shaderpack-analyzer.exe program interface . --program course:post/present --contract 2

Runtime checks still required ​

The static receipt below supplies no runtime evidence. Chapter 00 and the runtime record add dated driver reports, screenshots and lifecycle observations. Complete category coverage, device reset and other platforms remain unverified. A resolved route alone is not evidence of a rendered image.

driverStatus=notProvided · runtimeEvaluated=false · liveWorldVerified=false · visual=notRun

Read the Analyzer evidence boundaries

Author documentation · Manifest v5 / Scene ABI v2