Skip to content

v0.6.0

Compare
Choose a tag to compare
@simbleau simbleau released this 09 Aug 19:21
· 3 commits to main since this release
1a8dca5

0.6.0 - 2024-08-09

This release supports Bevy version 0.14 and has an MSRV of 1.80.

Added

  • There is now a default_font feature that uses the same FiraMono-subset.ttf font used in the bevy/default_font feature.
  • There is now a render_layers example.
  • There is now a cube_3d example.
  • You may now choose the render layers for the Vello canvas. This can be configured through the VelloPlugin.
  • You may now choose to use CPU rendering with Vello and configure anti-aliasing. This can be configured through the VelloPlugin.
  • Added the SkipEncoding component, which allows you to skip encoding any renderable asset without removing the asset.

Changed

  • VelloPlugin now has configuration. To retain previous behavior, use VelloPlugin::default().
  • VelloRenderer is now a resource.
  • The VelloRenderer will attempt CPU fallback if it cannot obtain a GPU.
  • The font API has changed significantly. Please visit examples/text for further usage. This is to prepare for additional text features such as linebreak behavior, bounded text, and text justification.
    • VelloText has been renamed to VelloTextSection.
    • VelloText.content has been renamed to VelloText.value.
    • There is now a VelloTextStyle struct and it is a required field of VelloText.
    • VelloFont has been removed from VelloTextBundle and moved into VelloTextStyle.
  • The field VelloAssetBundle.vector was renamed to VelloAssetBundle.asset.
  • Renamed VelloAssetAlignment to VelloAssetAnchor. Fields were renamed alignment were renamed to asset_anchor.
  • Renamed VelloTextAlignment to VelloTextAnchor. Fields were renamed alignment were renamed to text_anchor.
  • The SSRenderTarget (fullscreen quad that renders your frame) no longer renders at a zepth of -0.001. This was a legacy hack used to ensure Gizmos rendered on-top. RenderLayers should be used now (there's an example).

Removed

  • Removed ZFunctions from the render pipeline. Now ordering is based solely on the Transform's z component. If you dependeded on this behavior, you'll need to adjust the transform Z in a system prior to render.
  • VelloRenderPlugin is now private, as it is not helpful for downstream developers to add manually.
  • Removed VelloCanvasMaterial from prelude, as it is not typical to use.

Fixed

  • Text, assets, and scenes rendered will now correctly respect camera RenderLayers.