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>
19 lines
266 B
TOML
19 lines
266 B
TOML
schema = 1
|
|
id = "{{id}}"
|
|
name = "{{name}}"
|
|
version = "0.1.0"
|
|
api = "0.1"
|
|
description = "How block surfaces are lit."
|
|
|
|
[material]
|
|
file = "material.wgsl"
|
|
|
|
[[options]]
|
|
id = "contrast"
|
|
name = "Light contrast"
|
|
type = "float"
|
|
default = 1.2
|
|
min = 0.5
|
|
max = 2.0
|
|
step = 0.05
|