Releases: playcanvas/engine
Releases · playcanvas/engine
v2.7.7
v2.7.6
v2.7.5
Changes:
- Speed up sogs centers calc by @slimbuck in #7669
- Sogs load tweaks by @slimbuck in #7667
- Sogs updates by @slimbuck in #7662
Fixes:
- assume XRSession.enabledFeatures can be undefined by @mvaligursky in #7654
- UV-coordinates debug rendering fix by @mvaligursky in #7642
Full Changelog: v2.7.4...v2.7.5
v2.7.4
Fixes:
- Update SWC options to target ES5 for UMD builds by @marklundin in #7635
- [Fix] Fixes tags for assets by @mvaligursky in #7636
Docs:
- Improve JSDocs for Geometry classes by @willeastcott in #7617
- Use arrow functions in all example code by @willeastcott in #7615
- More incremental improvements to JSDocs by @willeastcott in #7619
- Improve Gizmo API docs by @willeastcott in #7620
- Improve SoundSlot API docs by @willeastcott in #7621
- Improve ScreenComponent API docs by @willeastcott and @Copilot in #7622
Full Changelog: v2.7.3...v2.7.4
v2.7.3
v2.7.2
v2.7.1
v2.7.0
Breaking changes
If you override shader chunks dealing with reading StandardMaterial textures / uniforms, for example diffusePS
, emissivePS
, opacityPS
and similar, you need to update them to new format. For details see https://developer.playcanvas.com/user-manual/graphics/shader-chunk-migrations/#engine-v27
- [BREAKING] Refactor standard material chunks dealing with texture channels by @mvaligursky in #7487
- [BREAKING][FIX] Specular and sheen texture correctly handle sRGB encoding by @mvaligursky in #7572
Changes
- WebGL shader error reporting marks the line containing the error by @mvaligursky in #7457
- Shadow casting support for gsplat by @mvaligursky in #7461
- Updated spine script to the latest release by @mvaligursky in #7470
- Clustered lighting optimisations - removed WebGL1 compatibility solutions by @mvaligursky in #7459
- Gsplat sorting update by @slimbuck in #7472
- WebGPU support for indexed rendering using triangle or line strips by @mvaligursky in #7478
- Instantiate GLB's with correct AppBase instance by @marklundin in #7479
- Refactor GSplat handling to use AppBase instance by @marklundin in #7482
- GSplat shaders can output depth during Depth Prepass by @mvaligursky in #7483
- Set ‘data-engine’ parameter of the canvas to PlayCanvas by @mvaligursky in #7489
- Refactor the way diffuse, opacity and parallax code is generated for Standard frontend by @mvaligursky in #7508
- Refactored the normal maps code generation for Standard frontend by @mvaligursky in #7509
- Refactored standard material refraction / transmission + example by @mvaligursky in #7513
- Support sogs by @slimbuck in #7510
- Refactor shader generator for Iridescence + bug fix by @mvaligursky in #7515
- Refactored dealing with specular chunks / textures in standard shader generator by @mvaligursky in #7519
- Refactor AO standard material shader generation by @mvaligursky in #7521
- Refactor the use of emissive data during shader generation by @mvaligursky in #7522
- Refactored clearCoat shader generation by @mvaligursky in #7524
- Ply fetch by @slimbuck in #7518
- Refactor lightmap part of shader generation by the standard materials by @mvaligursky in #7527
- Final refactor of standard shader generator - shader code moved to chunks by @mvaligursky in #7531
- Convert JS based particle shader generator to define based by @mvaligursky in #7535
- Created a particle simulation shader chunk by @mvaligursky in #7541
- Cookie texture blit shaders used by clustered lighting are in WGSL by @mvaligursky in #7542
- Simplified the ShaderMaterial API to better support GLSL and WGSL shaders by @mvaligursky in #7543
- Do not add textures to view level bind groups by @mvaligursky in #7546
- WGSL versions of code vertex shader funcionality by @mvaligursky in #7550
- WGSL shaders expose inputs as globals + fog fix by @mvaligursky in #7554
- Only validate shader vertex attributes when vertex buffers are set by @mrxz in #7561
- Rename TRACE_ID_ELEMENT to TRACEID_ELEMENT by @willeastcott in #7569
- Add aa rendering support by @slimbuck in #7567
- A way to force linear encoded spec textures by @mvaligursky in #7574
- Partial WGSL support for LitMaterial by @mvaligursky in #7575
Bug fixes
- [Fix] Fix to StandardMaterial.useFog being ignored by @mvaligursky in #7465
- [Fix] Clarified the docs for the sort order of drawBucket by @mvaligursky in #7464
- GS culling fix by @slimbuck in #7466
- [Fix] Fix the high quality morph option on WebGPU by @mvaligursky in #7468
- [Fix] Fix soft shadows on iOS devices by @mvaligursky in #7469
- [Fix] Fixed part of the image being upside down on WebGPU with DOF and TAA by @mvaligursky in #7474
- Remove console log by @slimbuck in #7475
- [Fix] Clear index buffer when the draw call is skipped by @mvaligursky in #7476
- [Fix] Fixed hanling of texture.type by @mvaligursky in #7488
- [Fix] Fixed issue where clustered light color is over half-float range by @mvaligursky in #7486
- [Fix] Fixed manual loading of .hdr files using incorrect type / encoding by @mvaligursky in #7507
- [Fix] Color and Depth Grab Pass would in some cases ignore being enabled by @mvaligursky in #7512
- [Fix] Fixed to clear coat normal map being ignored by @mvaligursky in #7523
- Fix for GS in XR by @slimbuck in #7529
- [Fix] Update to disk/sphere area lights to avoid NaN values by @mvaligursky in #7539
- WebGPU texture read fix by @slimbuck in #7538
- [Fix] Fix CameraComponent.fog behavior by @mvaligursky in #7540
- Fix to Nan handling in area lights for WebGPU by @mvaligursky in #7544
- Fix: Updated picker ID decoding to handle sign bit by @mvaligursky in #7545
- Fix assignment of clustered lighting cells by @mrxz in #7558
- Small gsplat fix by @slimbuck in #7566
Examples
- Simple graphics tests for parallax and detail maps tests by @mvaligursky in #7503
- Moved the contact hadening shadow example to tests / hidden from published builds by @mvaligursky in #7511
- [ImgBot] Optimize images by @imgbot in #7505
- Updated examples to reflect the API changes by @mvaligursky in #7576
Docs
- Update API reference manual to match published version by @willeastcott in #7485
- Move CameraFrame to the Graphics category by @willeastcott in #7490
- Restore missing StandardMaterial properties from API reference by @willeastcott in #7491
- Restore @ignore tags for classes that should not be in the API reference by @willeastcott in #7494
- API Reference improvements and fixes by @willeastcott in #7499
- [FIX] [WebGL2] Use correct internal format for WebGL 565/5551/RGBA4 formats by @liamdon in #7493
- Refactor MiniStats options types by @willeastcott in #7500
- Tweak Script class API docs by @willeastcott in #7501
- Add API reference overview by @willeastcott in #7502
- Hide RenderPassPicker and fix 2 link warnings by @willeastcott in #7504
- Improve API docs for ModelComponent and RenderComponent by @willeastcott in #7506
- Improve Euler-related docs by @willeastcott in #7516
- Refactor Asset class by @willeastcott in #7517
- Tweaks to Anim API docs by @willeastcott in #7520
- Assign some missing category JSDoc tags by @willeastcott in #7528
- Improve JSDoc for Standard Material by @marklundin in #7532
- Removed obsolete jsdocs part from Layer class by @mvaligursky in #7547
- [FIX] Address Anim API related TypeDoc warnings by @willeastcott in #7549
- [FIX] Address some TypeDoc warnings related to TextureParser by @willeastcott in #7551
- Refactor CurveSet constructor by @willeastcott in #7552
- Improve physics API docs by @willeastcott in #7553
- Re...
v2.6.2
Fixes
- Fix for GS in XR by @slimbuck (#7529)
- Documentation updates by @willeastcott
Full Changelog: v2.6.1...v2.6.2
v1.77.0
What's Changed
- Small gsplat shader update by @slimbuck in #7186
- Compressed material key hash update by @slimbuck in #7188
- ScriptAttribute fix (#6750) by @marklundin in #7192
- Optimize RenderComponent destroy by @Maksims in #7194
- [Fix] Fix to recent change to RenderComponent.rootBone when instantiating glb container by @mvaligursky in #7215
- ButtonComponent remove EntityReference & optimize add/remove speed. by @Maksims in #7204
- Scrollview remove entity reference by @Maksims in #7206
- Do not show warnings for material properties from engine v2 by @mvaligursky in #7463
Full Changelog: v1.76.3...v1.77.0