v2.21.1

matrixleons/evilwafv2.21.1Jul 24, 2026by mvaligursky

AI Summary

A bug fix release for the PlayCanvas engine focusing on WebGPU rendering stability, MSDF font handling, and texture coverage.

Key Highlights

  • Fixed inverted normal mapping on WebGPU (derivative TBN).
  • Fixed MSDF coverage ramp exceeding field range at small sizes.
  • Fixed reported WebGPU sampled texture limit.
  • Added `shadowCascadeMask` in batch.

Full Release Notes

## Fixes

- Add shadowCascadeMask in batch by @AlexAPPi in [#9104](https://github.com/playcanvas/engine/pull/9104)
- Fix inverted normal mapping on WebGPU (derivative TBN) by @mvaligursky in [#9099](https://github.com/playcanvas/engine/pull/9099)
- Fix MSDF coverage ramp exceeding field range at small sizes by @willeastcott in [#9100](https://github.com/playcanvas/engine/pull/9100)
- Fix reported WebGPU sampled texture limit by @mvaligursky in [#9103](https://github.com/playcanvas/engine/pull/9103)
- Mark texture-formats test example as hidden by @mvaligursky in [#9095](https://github.com/playcanvas/engine/pull/9095)

**Full Changelog**: https://github.com/playcanvas/engine/compare/v2.21.0...v2.21.1