Releases: playcanvas/engine
Releases · playcanvas/engine
v1.73.5
v2.0.0
Major / Breaking changes
Major breaking changes are tracked in this ticket - use it also as a guide on what to do when you have issues: #6666
- [BREAKING] Removed WebGL1 support by @mvaligursky in #6295 #6299 #6300 #6297 #6297 #6305 #6306 #6311 #6314 #6313 #6312 #6318 #6320 #6322 #6321 #6319 #6325 #6327 #6329 #6330 #6336 #6356 #6398 #6406 #6688 #6793 #6810 #6872 #6873
- [BREAKING] Removed backwards compatibility for few functions by @mvaligursky in #6408
- [BREAKING] Remove deprecated
AudioSourceComponent
component by @mvaligursky in #6407 - [BREAKING] Remove support for legacy scripts by @mvaligursky in #6584
- [BREAKING] Initial cleanup of deprecated functionality by @mvaligursky in #6690
- [BREAKING] Changes to the HDR rendering by @mvaligursky in #6702
- [BREAKING] Colors of lights, fog and materials are always supplied in sRGB space, for both LDR and HDR by @mvaligursky in #6714
- [BREAKING]
BoundingBox
andOrientedBox
copy parameters in the constructor by @mvaligursky in #6691 - [BREAKING] Remove
flipv
code from glb loader by @slimbuck in #6747 - [BREAKING] Remove long time deprecated PHONG specular model by @mvaligursky in #6755
- [BREAKING] Remove energy conservation flag in standard material by @mvaligursky in #6756
- [BREAKING] Remove
StandardMaterial.diffuseTint
and simply always apply it by @mvaligursky in #6759 - [BREAKING] Remove
CURVE_CATMULL
andCURVE_CARDINAL
by @willeastcott in #6779 - [BREAKING] Remove StandardMaterial.emissiveTint and simply always apply it by @mvaligursky in #6762
- [BREAKING] Remove no longer needed shader defines:
SUPPORTS_TEXLOD
andSUPPORTS_MRT
by @mvaligursky in #6795 - [BREAKING] Remove
StandardMaterial.ambientTint
by @mvaligursky in #6805 - [BREAKING] Remove
StandardMaterial.sheenTint
by @mvaligursky in #6809 - [BREAKING]: Remove
pc.apps
,pc.common
,pc.config
,pc.data
by @willeastcott in #6814 - [BREAKING] Remove
pc.type
by @willeastcott in #6816 - [BREAKING] Gizmo constants by @kpal81xd in #6826
- [BREAKING] Implementation of
ShaderMaterial
- Material to be used with custom shaders by @mvaligursky in #6831 - [BREAKING] Remove
StandardMaterial.sheenGlossTint
by @mvaligursky in #6841 - [BREAKING] When material is cloned, its custom parameters are copied as well by @mvaligursky in #6844
- [BREAKING]
BasicMaterial
has been deleted by @mvaligursky in #6857 - [BREAKING] More general instancing by @mvaligursky in #6867
- [BREAKING] Instancing no longer ignores the model matrix by @mvaligursky in #6883
- [BREAKING] Remove no longer needed
drawTexture
by @mvaligursky in #6886 - [BREAKING] Remove support for
Layer.renderTarget
and some callbacks on the Layer by @mvaligursky in #6888 - [BREAKING] Adjusted the alpha part of the normal blend used by the Materials by @mvaligursky in #6889
- [BREAKING] Remove deprecated uniform for grab pass textures:
uDepthMap
andtexture_grabPass
by @mvaligursky in #6796
Build changes
- Include unbundled engine source in npm package by @kpal81xd in #6310
- Disable treeshaking polyfills by @kpal81xd in #6332
- Bundled build options by @kpal81xd in #6296
- Build fixes by @kpal81xd in #6340
- Fix
buildUrl
relative path support by @erikdubbelboer in #6354 - Add webpack ignore by @marklundin in #6359
- Only publish to npm when the pushed tag matches our version tag. by @slimbuck in #6399
- Publint CI by @kpal81xd in #6363
- Public vercel previews by @kpal81xd in #6600
- Treeshake plugin fix by @kpal81xd in #6601
- Bumps package.json to 2.0.0-dev by @marklundin in #6719
- Adds NPM 'alpha' identifier by @marklundin in #6722
- Fix npm publish tag variable by @marklundin in #6740
- Update alpha publish by @slimbuck in #6760
- Keep correct paths for build output even when build is invoked outside of repo root by @liamdon in #6589
- Updated ESLint config by @kpal81xd in #6877
Other changes
- New texture formats: R8 and RG8 by @mvaligursky in #6602 #6649
- Remove references to
pcx
namespace by @willeastcott in #6304 - Update Graphics markers to display better with hierarchy by @mvaligursky in #6290
- Remove uniform buffer based skinning and batching by @mvaligursky in #6324
- Gizmo cleanup and bug fixes by @kpal81xd in #6323
- Small refactor to separate composition update from framegraph building by @mvaligursky in #6333
- Initial refactor to how bind groups can be used with non-persistent UBs by @mvaligursky in #6341
- Updated the way WebGPU dynamic UBs are used for rendering by @mvaligursky in #6349
- Revert "Add Script alias (#6237)" by @marklundin in #6355
- Added docs for supported HDR formats by @mvaligursky in #6351
- Reordered export types by @kpal81xd in #6362
- Small JSDoc normalization/fixes by @kungfooman in #6369
- Update GS rendering v2.0 by @slimbuck in #6357
- Functionality to async-read texture from GPU on WebGPU by @mvaligursky in #6370
- Render compressed GS data by @slimbuck in #6371
- Refactor of the
RenderPassCameraFrame
by @mvaligursky in #6400 - Support for
Picker
on WebGPU by @mvaligursky in #6393 - USDZ / GLTF exporter supports exposing of compressed textures on WebGPU by @mvaligursky in #6394
- Gizmo orthogonal facing direction translation by @kpal81xd in #6607
- Shader chunks type by @kpal81xd in #6621
- Docs update by @LeXXik in #6631
- First person script update by @kpal81xd in #6640
- GraphNode
setPositionAndRotation
by @kpal81xd in #6625 - RenderPass based SSAO by @mvaligursky in #6657
- Small refactor in a way bloom render pass is managed by @mvaligursky in #6683
- Allocate smaller WebGPU dynamic buffers by @mvaligursky in #6682
- When glslang transpilation fails on WebGPU, add stack trace to the error message by @mvaligursky in #6681
- Add JSDoc for getters by @willeastcott in #6685
- Update to HDR rendering used by the RenderPassCameraFrame by @mvaligursky in #6687
- Refactor shader cache implementation for the mesh instance by @mvaligursky in #6696
- Texture property changes flags by @heretique in #6697
- More descriptive shader names for Particle Emitter simulation shaders by @mvaligursky in #6701
- Small updates to the ModelOutlineExample by @mvaligursky in #6703
- Remove
app#context
backwards compatibility for scripts 1 by @willeastcott in #6704 - Remove remnants of
GraphNode
label API by @willeastcott in #6705 - Tweaks to
XrAnchor
source by @willeastcott in #6706 - Improve typings and docs for
XrPlane
by @willeastcott in #6708 - Allow components ordering by @LeXXik in #6648
- Clear references of temporary ar...
v1.73.4
Full Changelog: v1.73.3...v1.73.4
v1.73.3
Full Changelog: v1.73.2...v1.73.3
v1.73.2
v1.73.1
v1.73.0
What's Changed
Bug Fixes
- Stencil clearing was not setting up the mask correctly (#6778)
- Fix WebXR depth sensing on quest 3 (#6774)
- Update Tags class to use spread instead of arguments (#6775)
- Use object destructuring with vectors (#6777)
- Minor refactor of Curve class (#6780)
- Array length fix (#6823)
Full Changelog: v1.72.1...v1.73.0
v1.72.1
v1.72.0
🚨 NOTE: This release includes breaking changes to the gaussian splat shader. See #6753 for details.
What's New
Graphics
- Fix the definition of sheenTint Standard Material property (#6665)
- Update to skybox shader to map it closer to the infinity (#6664)
- GSplat reorder and shader speedup (#6715) (#6716)
- Do not compile different shader for opacity of 1 and diffuse tint of white (#6721)
- Compressed splat update (#6746)
- Unify gsplat shaders (#6753)
General
- Update setFromMat4 and add tests (#6720)
Examples
- Examples app bundle v1 (#6594)
- Replaces slashes for windows (#6603)
- Fixed using query params with iframe example (#6605)
- Exports and types fixes v1 (#6624)
- Examples config fixes v1 (#6627)
- Fixed fallback options (#6629)
- Fixed example types (#6635)
- Adjusted publint error
- Fix gsplat example (#6754)