Skip to content

v0.10.1

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Oct 03:48
· 153 commits to main since this release

highlights

  • added bunx shallot publish, which publishes a web game to cloudflare workers or itch.io
  • added camera stacking, with render layers choosing what each camera draws (view-model)
  • added bloom and color grading, in one post-processing stack with tonemapping and vignette (post-processing, bloom, color-grading, tonemapping)
  • added volumetric fog lit by the sun, spotlights and point lights (volumetric-fog)
  • added mobile support: touch input, and touch controls in first-person and interact
  • new projects typecheck in their ci
  • various bugfixes, including ios rendering, safari startup stalls and desktop builds

changes

  • a camera without a canvas or texture draws on the first canvas, where 0.10 drew nothing; attachCanvas joins the same draw order
  • PointLightGpu and meshInstanceTable gain render-layer fields
  • captureFrame accepts any canvas size; Capture.identity no longer has deviceScale
  • world.add on a component the entity already has replaces its values, resetting omitted fields to defaults; 0.10 kept them and warned
  • web builds default to base: "./"; an app that routes nested urls through the history api sets base: "/"
  • agx tonemapping colors change
  • the optional playwright peer requires ^1.64.1
  • @dylanebert/shallot/vignette and VignettePlugin are deprecated in favor of @dylanebert/shallot/effect-stack and EffectStackPlugin, and are removed in 0.11

to update a 0.10 app, run bunx shallot migrate or read MIGRATION.md.