Skip to content

v0.8.5

Latest

Choose a tag to compare

@eduardodoria eduardodoria released this 11 Nov 17:27
· 156 commits to main since this release
  • New shader effects: meshes take a vertex offset and a coverage function without forking their shaders, and shadows, SSAO and SSR follow them. The engine ships wind sway, see-through, dissolve and height clip (details)
  • Shader forks declare their values with #pragma param lines, plus values shared by the scene or by one camera
  • Water Exclusions leave wakes when they move, foam opens into cells and whitecaps run with the waves
  • Directional shadows no longer shimmer when the camera moves, with an optional blend between cascades. SSAO has a half resolution option, and SSR works over reflection probes
  • UI buttons work with the keyboard and gamepads once a script focuses one with setFocus()
  • Physics: Box2D 3.2.0 and Jolt Physics 5.6.0, tilemap collision built from the tiles, 2D conveyor belts and motion locks, and motors on 3D hinge and prismatic joints
  • Lua 5.5.1, and scripts can read physics bodies in init
  • Editor: number fields accept typed math such as 288*3, the Resources window has Duplicate (Ctrl+D), and a project opens in one editor at a time
  • Windows saves project paths with forward slashes, so projects move between systems
  • Fixed File and Data reads and writes, joints outliving their bodies, texture and framebuffer leaks, button labels clipped by the patch margins and other editor and export issues

⚠️ Potential breaking changes

  • Shader forks from v0.8.4 and earlier that declare u_vs_customParams, u_fs_customParams or u_fs_postParams no longer build. The editor offers to port them when the project opens, turning each block member into a #pragma param line (details)
  • Visibility is inherited: hiding a parent hides its children without changing their own visible flag, and Object::setVisibleOnly was removed. Older scenes are converted when they open
  • Lua 5.5: the for loop variable is read-only and global is now a declaration (details). eof() of File and Data returns a boolean
  • Buttons replace the color and texture of their UIComponent with the ones of the current state, so set colorNormal and setTextureNormal instead
  • 2D contacts report separation, speeds and hit points in points and a unit normal, and a ray that starts inside a 2D shape no longer hits it