v2.4.1

playcanvas/enginev2.4.1Jan 17, 2025by mvaligursky

AI Summary

Bug fixes for CameraFrame script state, GSplat shaders, and refactoring of core scripts.

Key Highlights

  • Handle CameraFrame script changing enabled state
  • GSplat shader fixes
  • Refactor Grid class initialization
  • Refactor first-person controller script

Full Release Notes

##Fixes

- Handle CameraFrame script changing enabled state by @mvaligursky in [#7282](https://github.com/playcanvas/engine/pull/7282)
- GSplat shader fixes by @slimbuck in [#7283](https://github.com/playcanvas/engine/pull/7283)
- Updates to material chunks override functionality by @mvaligursky in [#7284](https://github.com/playcanvas/engine/pull/7284)
- Small GSplat initialization update by @slimbuck in [#7286](https://github.com/playcanvas/engine/pull/7286)
- Moved CameraFrame script to ESM folder by @mvaligursky in [#7285](https://github.com/playcanvas/engine/pull/7285)
- Fixed typing and ESLint for ESM scripts by @kpal81xd in [#7288](https://github.com/playcanvas/engine/pull/7288)
- Refactor Grid class initialization and set initial values by @marklundin in [#7287](https://github.com/playcanvas/engine/pull/7287)
- Fixed splat shader gamma decode issues when gamma output is disabled by @mvaligursky in [#7290](https://github.com/playcanvas/engine/pull/7290)
- Refactor first-person controller script by @marklundin and @kpal81xd in [#7289](https://github.com/playcanvas/engine/pull/7289)
- Refactor Camera controls by @kpal81xd and @marklundin in [#7291](https://github.com/playcanvas/engine/pull/7291)
- GSplat chunk fix by @slimbuck in [#7292](https://github.com/playcanvas/engine/pull/7292)

**Full Changelog**: https://github.com/playcanvas/engine/compare/v2.4.0...v2.4.1