v2.18.1

playcanvas/enginev2.18.1Apr 28, 2026by mvaligursky

AI Summary

Fixes shadow batching, depth reconstruction, and WebGPU buffer destruction timing issues.

Key Highlights

  • Splits batches by castShadow and shadowCascadeMask
  • Fixes depth reconstruction from RGBA8
  • Defer WebGPU buffer destruction until after command submission

Full Release Notes

## Fixes

* Split batches by `castShadow` and `shadowCascadeMask` by @mvaligursky in #8650
* Use unsigned 32-bit depth bits when reconstructing pick depth from RGBA8 by @slimbuck in #8651
* Defer WebGPU buffer destruction until after pending command buffers are submitted by @slimbuck in #8652

### Contributors

* @mvaligursky
* @slimbuck

**Full Changelog**: https://github.com/playcanvas/engine/compare/v2.18.0...v2.18.1