Skip to content

v0.3.0

Latest

Choose a tag to compare

@ruccho ruccho released this 26 Jul 22:52
e5f7110

What's Changed

Added

  • Fill-only (1bpp) atlas format for TexpixFontAsset — half the bits per font pixel of the default outline format (TexpixAtlasFormat enum, TexpixAtlas/TexpixFontAsset constructors and Bake/Create gain an optional atlasFormat parameter). Roughly 40–55% smaller atlas textures for fonts that don't need outlines.
  • Atlas preview shader/inspector drawer for TexpixFontAsset (decoded and raw views).
  • Editor warning when a TexpixText's outline is enabled but its font asset has no outline data configured.

Changed

  • Texpix.hlsl decode API (TexpixAtlasUV, TexpixSubPixel, TexpixExtractLevel, TexpixUnpackOutline) now takes/returns an atlas format alongside the existing outline color/mode; a 2-arg TexpixVertexFormat.UnpackOutline overload is kept for source compatibility. Custom shaders built against the include need to be updated to thread the format through (see updated Samples~/CustomShader/README.md).

PRs

Full Changelog: v0.2.0...v0.3.0