v2.5.1

playcanvas/enginev2.5.1Feb 26, 2025by mvaligursky

AI Summary

Bug fixes for WebGPU shader processing, GSplat rendering artifacts, and image element masks.

Key Highlights

  • Fixed Image Element mask
  • Fixes to processing WGSL shader
  • GSplat blending, rounding, and discoloration fixes
  • Fixed grid enabled/disabled state

Full Release Notes

### Fixes

- Image Element mask fix by @kpal81xd in https://github.com/playcanvas/engine/pull/7341
- Fixes to processing WGSL shader by @mvaligursky in https://github.com/playcanvas/engine/pull/7342
- Outline renderer null check for meshInstances by @kpal81xd in https://github.com/playcanvas/engine/pull/7360
- Moved zero render target check to a better place by @mvaligursky in https://github.com/playcanvas/engine/pull/7354
- Generate valid shader when multiple lights with cascades are used at the same time by @mvaligursky in https://github.com/playcanvas/engine/pull/7369
- Fixed incorrect 2D texture array setup with compressed format by @mvaligursky in https://github.com/playcanvas/engine/pull/7372
- Ensure postrender callback is cleaned up in outline renderer by @MAG-AdrianMeredith in https://github.com/playcanvas/engine/pull/7367
- Fix to texture upload issue on WebGPU by @mvaligursky in https://github.com/playcanvas/engine/pull/7375
- Fixed grid enabled/disabled by @kpal81xd in https://github.com/playcanvas/engine/pull/7374
- Fix gsplat blending by @slimbuck in https://github.com/playcanvas/engine/pull/7379
- Fix gsplat rounding issues by @slimbuck in https://github.com/playcanvas/engine/pull/7380
- Fix gsplat discoloration by @slimbuck in https://github.com/playcanvas/engine/pull/7383
- Grid render component fix by @kpal81xd in https://github.com/playcanvas/engine/pull/7384

**Full Changelog**: https://github.com/playcanvas/engine/compare/v2.5.0...v2.5.1