Skip to content

Kerabit 3.0.0 — Juni scripting + UE5-class render tier

Latest

Choose a tag to compare

@AJpro774 AJpro774 released this 18 Sep 20:27
· 4 commits to main since this release

Kerabit 3.0 replaces Rhai with compiled Juni scripting and lifts the renderer to a modern real-time pipeline on the same tiny rustup + cargo footprint.

Scripting: Juni (breaking)

  • .juni scripts (statically typed, Python-like indentation) compile in-process against the Kerabit prelude (crates/kerabit-juni/juni/kerabit.juni, the Frozen for 3.0 host API) via Juno v13.0.0 extern host imports, and run in a fuel-limited wasmtime store.
  • fn main() -> i32 once at load, fn frame(dt: f32) -> i32 per frame, state: for persistence, entities as i32 handles. Type errors show file:line:col before Play; runaway loops trap instead of hanging.
  • .rhai files no longer load — port with cargo run -p kerabit-juni --bin check_juni -- script.juni (see API.md § Juni for the 1:1 mapping). Spark and hello_juni are the reference scripts.

Rendering

  • Depth prepass + G-buffer; clustered lighting (MAX_LIGHTS 4 → 256); four cascaded soft shadows; SSAO; HDR image-based lighting (scene environment / Kerabit::environment); screen-space reflections; TAA; mesh LODs (Entity::lod, scene lods).
  • 10k cubes + 200 point lights at 60 fps (cargo run -p kerabit --example many_cubes --release).
  • RenderSettings and KERABIT_RENDER_DEBUG for toggles and stage views.

Also

  • Strike (cargo run -p strike) FPS arena slice; Kerabit MCP (tools/kerabit-mcp) for agent workflows with kerabit_check_juni.
  • Editor Script panel edits Juni and type-checks against the host API.

Full notes: CHANGELOG.md. Reach player zips remain on the v1.0.0 assets until re-cut.