49f62d02cb
The SDK's tool, in horizon-shader-api: `horizon-shader new <dir> --template post|sky|material` makes a pack that passes the check, `check <pack>... [--json]` runs the check the game, the launcher and the registry run and prints each stage's cost and the pack's SHA-256 or every problem at its file:line:column, and `pack <dir>` checks then writes the reproducible .hshader. Golden Hour, the example pack, warms the sky around a low sun and adds a soft glow and a colour grade, with five options. docs/shaders.md is the authors' guide. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
309 B
TOML
23 lines
309 B
TOML
schema = 1
|
|
id = "{{id}}"
|
|
name = "{{name}}"
|
|
version = "0.1.0"
|
|
api = "0.1"
|
|
description = "A post-processing pass over the world."
|
|
|
|
[[post]]
|
|
file = "post.wgsl"
|
|
name = "Colour"
|
|
|
|
[[options]]
|
|
id = "saturation"
|
|
name = "Saturation"
|
|
type = "float"
|
|
default = 1.15
|
|
min = 0.0
|
|
max = 2.0
|
|
step = 0.05
|
|
|
|
[budget]
|
|
gpu_ms = 0.5
|