v2.24.3
- Add HandleGizmo fillDepthBias by @kpal81xd in #10115
- Stop using flat interpolation for per-splat float varyings by @mvaligursky in #10112
- Replace Draco GLB with a Compressed Meshes example by @isumygin-sc in #10092
- @isumygin-sc
- @kpal81xd
- @mvaligursky
Full Changelog: https://github.com/playcanvas/engine/compare/v2.24.2...v2.24.3
v2.24.2
- Only cancel cancelable touchmove events and set touch-action on the touch element by @mvaligursky in #10012
- Return only the file's bytes for binary assets loaded from a bundle by @mvaligursky in #10020
- Restore gsplat shadows after graphics context loss by @mvaligursky in #10021
- Place the third-person controller's camera after physics by @willeastcott in #10024
- Keep gsplat rotations with w >= 0 in the packed work buffer by @mvaligursky in #10025
- Allow reading back the indirect draw and dispatch buffers by @SashaRX in #10009
- Share glTF textures that use the same image and sampling state by @mvaligursky in #10051
- Fix Color.toString alpha when it rounds up to 0x10 by @SwastikTripathi in #10032
- Stop counting cull time twice in the profiler stats by @mvaligursky in #10058
- Clear the loader cache of an asset's old file when the file changes by @mvaligursky in #10066
- Filter half-float textures on WebGPU without float32-filterable by @mvaligursky in #10071
- Fix stale links and tidy the header in the READMEs by @willeastcott in #10028
- Update the README Hello World, features and positioning by @willeastcott in #10029
- @mvaligursky
- @SashaRX
- @SwastikTripathi
- @willeastcott
- @SwastikTripathi made their first contribution in #10032
Full Changelog: https://github.com/playcanvas/engine/compare/v2.24.1...v2.24.2
v2.24.1
- Point coding agents at the llms.txt indexes by @willeastcott in #10004
- Hot reload edited ESM scripts by @kpal81xd in #9989
- Clear all color attachments of a multiple render target in WebGPU viewport clears by @mvaligursky in #9998
- Read SOG v3 rotations from quats.webp by @slimbuck in #10007
- @kpal81xd
- @mvaligursky
- @slimbuck
- @willeastcott
Full Changelog: https://github.com/playcanvas/engine/compare/v2.24.0...v2.24.1
v2.24.0
- Introduce CameraFrameEffect and convert the vignette and grading effects by @mvaligursky in #9666
- Add SMAA anti-aliasing as an opt-in CameraFrame effect by @mvaligursky in #9747
- Add auto exposure as an opt-in CameraFrame effect by @mvaligursky in #9757
- Add a lens flare effect to CameraFrame by @mvaligursky in #9734
- Add temporal upscaling to the TAA of CameraFrame by @mvaligursky in #9739
- Add a channel mixer to the CameraFrame color grading by @mvaligursky in #9939
- Add DynamicSkyEffect, a camera frame effect rendering a dynamic sky by @mvaligursky in #9765
- Add haze to DynamicSkyEffect by @mvaligursky in #9897
- Add an Editor script for the DynamicSkyEffect by @mvaligursky in #9859
- Add Sky#enabled and let the sky be hidden per camera by @mvaligursky in #9760
- Make the CameraFrameEffect pass hooks public by @mvaligursky in #9841
- Add frame passes which execute after a camera renders by @mvaligursky in #9707
- Add onBefore and onAfter callbacks to all frame passes by @mvaligursky in #9788
- Make the frame pass classes public by @mvaligursky in #9822
- Make RenderPassForward and CameraComponent#framePasses public by @mvaligursky in #9839
- Add ComputePass, which dispatches computes at a position in the frame by @mvaligursky in #9710
- Add XR view selection and before/after callbacks to ComputePass by @mvaligursky in #9722
- Add Compute#setupDispatchThreads to dispatch for a number of threads by @mvaligursky in #9733
- Add scene depth and color map access to compute shaders by @mvaligursky in #9680
- Add per-camera scene depth and color map handles by @mvaligursky in #9667
- Add the size of the scene map to its handle by @mvaligursky in #9844
- Add planar reflections to StandardMaterial by @mvaligursky in #9902
- Add a Gaussian mipmap filter, and smoother planar reflections by @mvaligursky in #9932
- Add AgX and AgX Punchy tonemapping by @mvaligursky in #9874
- Support the KHR_materials_diffuse_transmission glTF extension by @willeastcott in #9558
- Decode EXT_meshopt_compression and KHR_meshopt_compression glTF buffer views by @willeastcott in #9738
- Add clipping planes to cameras, mesh instances and render components by @willeastcott in #9755
- Add shadowBounds to fit the shadow of a directional light to a box by @mvaligursky in #9791
- Add RoundedBoxGeometry by @mvaligursky in #9849
- Render to a layer of a 2D texture array by @mvaligursky in #9689
- Create and upload volume textures on WebGPU by @mvaligursky in #9695
- Read and copy the depth slices of volume textures by @mvaligursky in #9696
- Render to the depth slices of volume textures by @mvaligursky in #9697
- Add SOG v3 loading and over-unity opacity rendering by @slimbuck in #9873
- Load SPZ version 3 files, enabling SPZ based LCC2 scenes by @mvaligursky in #9980
- Load XGRIDS LCC2 gsplat scenes by @mvaligursky in #9885
- Add SH band 4 support for PLY gaussian splats by @mvaligursky in #9796
- Add VoxelOccupancy and a gaussian splat particle blast example by @mvaligursky in #9907
- Add camera, light, shape and icon gizmos with snapping handles by @kpal81xd in #9809
- Add BoundingBoxGizmo to outline a selection's bounds with corner brackets by @kpal81xd in #9804
- Add gizmo transform readout and Blender-style rotate angle sector by @kpal81xd in #9801
- Add Grid extra and rebuild the Grid script on it by @kpal81xd in #9808
- Add letterSpacing to text elements by @mvaligursky in #9728
- Load TexturePacker and Aseprite sprite sheets as texture atlases by @willeastcott in #9923
- Add per-button mouse mapping and ground pan to CameraControls by @mvaligursky in #9944
- Add an optional screen size to CameraComponent worldToScreen and screenToWorld by @mvaligursky in #9911
- Hold the light mask and all uv sets as shader define flags by @mvaligursky in #9659
- Remove the legacy LIT_OLD_AMBIENT combine and LIT_DIFFUSE_MAP by @mvaligursky in #9681
- Deprecate the legacy post effects by @mvaligursky in #9905
- Rename inconsistent public API names behind deprecated aliases by @willeastcott in #9937
- Let a Script base class declare a null scriptName to stay unregistered by @mvaligursky in #9860
- Use setupDispatchThreads in the gsplat compute passes and the compute examples by @mvaligursky in #9735
- Filter distant waves in the water script by @mvaligursky in #9762
- Publish the debug bundles without inline sourcemaps by @willeastcott in #9882
- Convert sharpening, fringing, color enhance and color LUT to effects by @mvaligursky in #9679
- Convert bloom to an effect owning its passes and add high quality bloom by @mvaligursky in #9700
- Convert SSAO to an effect and provide the scene depth to effects by @mvaligursky in #9702
- Convert depth of field to a CameraFrame effect by @mvaligursky in #9718
- Convert volumetric fog to a CameraFrame effect by @mvaligursky in #9720
- Convert TAA to a CameraFrame effect at a new resolve stage by @mvaligursky in #9741
- Configure CameraFrame effects when the camera frame is updated by @mvaligursky in #9686
- Add the postOpaque stage and scene color grab to CameraFrame effects by @mvaligursky in #9731
- Provide the scene depth to effects running after the opaque geometry by @mvaligursky in #9732
- Hand CameraFrame effects the time of the frame by @mvaligursky in #9761
- Let CameraFrame effect scripts select their debug views by @mvaligursky in #9742
- Move each CameraFrame effect into its own folder under src/extras/effects by @mvaligursky in #9736
- Move the SMAA and volumetric fog render passes to their own files by @mvaligursky in #9828
- Improve TAA blending on bright edges and under camera motion by @mvaligursky in #9744
- Fix the TAA history drifting with the jitter and losing precision by @mvaligursky in #9737
- Default the auto exposure metering to the 10-90% band by @mvaligursky in #9764
- Replace DynamicSkyEffect clouds and cloudTechnique with cloudType by @mvaligursky in #9772
- Let other materials and the CPU evaluate the DynamicSkyEffect sky by @mvaligursky in #9889
- Scale a LensFlare by the intensity of its light by @mvaligursky in #9773
- Fade the lens flare occlusion with the application time by @mvaligursky in #9858
- Apply the CameraFrame fringing before the sharpening by @mvaligursky in #9855
- Destroy the bloom render target when FramePassBloom is destroyed while disabled by @mvaligursky in #9774
- Stream gsplat LOD levels coarsest first across the whole view by @mvaligursky in #9694
- Choose streamed gsplat LOD by walking a node hierarchy by @mvaligursky in #9883
- Fall back to CPU sorting when gsplats exceed GPU storage limits by @mvaligursky in #9854
- Stop allocating the gsplat order buffer when sorting on the GPU by @slimbuck in #9763
- Space gsplat sort keys by log distance so stray far splats keep near precision by @slimbuck in #9899
- Cull splats faded out by modifySplatColor before the GPU sort by @mvaligursky in #9962
- Apply gsplat anti-aliasing per splat, detected from the file by @mvaligursky in #9921
- Add GSplatParams#antiAliasFilterSize by @mvaligursky in #9928
- Default GSplatParams.antiAliasFilterSize to 0.1 by @mvaligursky in #9964
- Use the 3DGS 0.3 px² low-pass filter for gaussian splats by @mvaligursky in #9916
- Lower the default gsplat minContribution from 3 to 2 by @mvaligursky in #9927
- Support any number of typed blind fields in SOG v3 by @mvaligursky in #9960
- Read true gaussian splat opacity from the PLY opacity_linear property by @slimbuck in #9972
- Read Postshot's real anti-aliasing PLY comment by @slimbuck in #9971
- Document the gsplat resource classes and make their aabb read-only by @mvaligursky in #9917
- Distinct gsplat LOD debug colors and billions LOD falloff by @mvaligursky in #9673
- Rebuild gsplat work buffer render targets for runtime-added streams by @mvaligursky in #9876
- Fix GSplatBoxShaderEffect edge tint left behind after the sweep by @mvaligursky in #9758
- Skip a disabled frame pass together with its before and after passes by @mvaligursky in #9776
- Do not merge a frame pass which does not execute with its neighbour by @mvaligursky in #9784
- Run camera before-passes and render events for hand-built passes by @mvaligursky in #9780
- Keep the before-passes added to a RenderPassForward by @mvaligursky in #9781
- Render a RenderPassForward with a single camera by @mvaligursky in #9783
- CameraFrame and clustered lighting manage only their own passes by @mvaligursky in #9786
- Document frame pass ownership and flag destroyed pass reuse by @mvaligursky in #9787
- Remove the dead cubemap mipmap skip from the frame graph by @mvaligursky in #9777
- Rename FrameGraph addRenderPass and renderPasses to addPass and passes by @mvaligursky in #9835
- Add RenderPass#resizeSource and copy the resize options of init by @mvaligursky in #9830
- Add RenderPassShaderQuad#numInstances by @mvaligursky in #9832
- Set render pass clears and stores through the setters by @mvaligursky in #9829
- Resolve render pass uniforms once instead of every frame by @mvaligursky in #9833
- Reuse quad render passes in per-frame engine rendering by @mvaligursky in #9827
- Draw drawQuadWithShader with a RenderPassShaderQuad by @mvaligursky in #9825
- Use each camera's own cascade split distances for directional shadows by @mvaligursky in #9831
- Share the VSM depth warp exponents between the shadow chunks by @mvaligursky in #9866
- Shadow the volumetric fog correctly with VSM shadow maps by @mvaligursky in #9865
- Fix area light clear coat specular using the base layer's LTC matrix by @mvaligursky in #9973
- Fix clear coat strength being ignored with area lights by @mvaligursky in #9975
- Do not tone map the minimal passes of the standard material by @mvaligursky in #9645
- Let the front end of a LitMaterial provide the dispersion by @mvaligursky in #9682
- Declare the dynamic refraction resources in the lit shader by @mvaligursky in #9691
- Give material copies the textures that load after they are copied by @mvaligursky in #9717
- Fix duplicate standard material shader in depth and shadow passes by @mvaligursky in #9778
- Compile iridescence thickness maps on WebGL2, and fix WebGPU iridescence colors by @willeastcott in #9752
- Correct the inverted sheen roughness by @willeastcott in #9836
- Default a missing glTF sheen color factor to black by @willeastcott in #9852
- Honour the clearcoat and sheen gloss invert flags in the glTF exporter by @willeastcott in #9837
- Support compressed textures not aligned to the block size on WebGPU by @mvaligursky in #9708
- Fix WebGPU upload of compressed mip levels that are not a multiple of the block size by @mvaligursky in #9701
- Fix the size of compressed volume textures by @mvaligursky in #9706
- Sample only the base level for non-mipmap texture filters on WebGPU by @mvaligursky in #9709
- Update the mip count when Texture.setSource changes the size by @mvaligursky in #9821
- Render to a single face of a cubemap depth buffer on WebGPU by @mvaligursky in #9665
- Fix gizmo picking, stuck drags, scale snapping, parentless local translate and ViewCube colorNeg by @kpal81xd in #9799
- Harden gizmos: shared layers, layer setter, enabled state, theme hover, multi-touch, arc mesh leak, uniform plane scaling and picking order by @kpal81xd in #9800
- Keep the gizmo readout generic and let each gizmo place it by @kpal81xd in #9803
- Gizmo fixes for editor integration: disabled components, centered icons and flat boxes by @kpal81xd in #9817
- Gizmo fixes for far icons, picking, frustum fill, flat box corners, lines and handle redraws by @kpal81xd in #9818
- Render directional shadows once for all views in WebGPU XR by @mvaligursky in #9698
- Clear the WebGPU XR projection layer's depth to the far plane by @slimbuck in #9748
- XrNavigation and XrControllers fixes found on Apple Vision Pro by @slimbuck in #9750
- Recover the WebGPU XR projection layer when its texture can no longer be acquired by @slimbuck in #9878
- Skip a screen's touch in XrControllers, which has no model to draw by @slimbuck in #9881
- Resolve the picker's meshInstanceId scope id once, not per draw by @mvaligursky in #9657
- Sort opaque draw calls and shadow casters with a radix sort by @mvaligursky in #9662
- Remove per-draw WebGPU error scopes in debug builds by @mvaligursky in #9725
- Always apply the metalness constant, so metalness never selects a shader by @mvaligursky in #9945
- Apply occludeDirect with a uniform, so it never selects a shader by @mvaligursky in #9946
- Apply twoSidedLighting with a uniform, so it never selects a shader by @mvaligursky in #9947
- Stop compiling StandardMaterial shader variants for neutral values by @mvaligursky in #9977
- Invalidate StandardMaterial shaders only when a value changes the shader by @mvaligursky in #9978
- Speed up compilation of clustered area light shaders by @mvaligursky in #9974
- Display cubemaps in TextureRenderer as a cross of their faces by @mvaligursky in #9664
- Add compute dispatch and compute pass counters to the stats and MiniStats by @mvaligursky in #9740
- Report buffer operations needing a usage the buffer was not created with by @mvaligursky in #9746
- Report which frame the GPU profiler timings belong to by @mvaligursky in #9838
- Keep GPU pass timings apart, and add scripts for profiling to the inspector example by @mvaligursky in #9842
- Keep MiniStats sized to the canvas when it resizes without a resizecanvas event by @slimbuck in #9661
- Skip the MiniStats draw when it has nothing to render by @mvaligursky in #9672
- Keep the canvas resolution when its client size is zero by @mvaligursky in #9671
- Fire devicerestorefailed when WebGPU device recovery fails by @mvaligursky in #9678
- Announce apps to the devtools hook from every build by @mvaligursky in #9646
- Keep the Node worker_threads require out of bundled worker code by @mvaligursky in #9656
- Do not fire tween events that have no name by @mvaligursky in #9650
- Accept the alignment array and cookie asset options in Entity#addComponent by @mvaligursky in #9683
- Grab the scene color on the null device without WebGL calls by @mvaligursky in #9684
- Dispatch each Compute instance at most once per frame by @mvaligursky in #9690
- Issue radix sort workgroup atomics from every invocation by @MotivaCG in #9756
- Correct ComputeRadixSort scan growth and destructiveKeys switching by @mvaligursky in #9759
- Delete WebGL vertex array objects with their vertex buffers by @mvaligursky in #9726
- Delete cached WebGL vertex array objects with their vertex buffers by @mvaligursky in #9727
- Destroy old batches when BatchManager.generate() is given no ids by @mvaligursky in #9730
- Preserve event listeners during nested dispatch by @MokiMeow in #9723
- Report a failed loadFromUrl again when its URL is requested again by @slimbuck in #9751
- End a MultiTouchSource touch that leaves without an up or a cancel by @slimbuck in #9749
- Warn about unregistered render containers only when preload starts by @mvaligursky in #9771
- Keep a disabled render or model component out of its batch group by @willeastcott in #9779
- Release held keys when the window loses focus by @kpal81xd in #9811
- Fix WebGPU creation for cross-document canvases by @GibsDev in #9814
- Destroy the WebGPU indirect buffers when the device is destroyed by @mvaligursky in #9823
- Fix math.smoothstep and smootherstep when min is greater than max by @zzoraemon043 in #9798
- Support the HTML-in-Canvas API names shipping in Chrome 157 by @mvaligursky in #9824
- Draw nothing for zero instances on WebGL, matching WebGPU by @mvaligursky in #9834
- Stop passing the graphics device as BoxGeometry options for the infinite sky by @mvaligursky in #9846
- Destroy the application at once while the graphics context is lost by @mvaligursky in #9862
- Skip parsing a GLB or PLY that finishes downloading after the application is destroyed by @mvaligursky in #9864
- Keep another application's registry entry when destroying one with the same canvas id by @mvaligursky in #9869
- Read the right mesh instance matrices on Firefox on Windows by @mvaligursky in #9870
- Default a new sprite component's type to SPRITETYPE_SIMPLE when none is given by @willeastcott in #9890
- Convert colors with the exact sRGB transfer function by @willeastcott in #9892
- Report rays starting inside a box when a hit point is requested by @mmporong in #9915
- Return the exit point for rays starting inside a BoundingSphere by @mvaligursky in #9930
- Stop applying the anim state speed twice to exit time and progress by @mvaligursky in #9931
- Ignore exit times on anim transitions out of START and END by @mvaligursky in #9935
- Enable scene color map on both BlurredPlanarReflection cameras by @mvaligursky in #9951
- Add a welcome demo as the default example by @mvaligursky in #9914
- Add an integrations category to the examples, with a Spine physics example by @mvaligursky in #9721
- Add standalone RenderPass and RenderPassShaderQuad examples by @mvaligursky in #9775
- Add a sky rendering test example by @mvaligursky in #9903
- Add a gaussian splatting black hole example by @mvaligursky in #9929
- Add a glyph rain gaussian splat shader effect and example by @mvaligursky in #9982
- Add a villa sales demo on a gaussian splat capture by @mvaligursky in #9965
- Add a car showcase configurator example by @mvaligursky in #9938
- Add a Mars 3D Tiles example using 3DTilesRendererJS by @mvaligursky in #9942
- Add a Helsinki 3D Tiles example streaming the city's photogrammetry model by @mvaligursky in #9948
- Add an impact effects particle example by @mvaligursky in #9958
- Rebuild the area lights example with a modelled room and controls by @mvaligursky in #9894
- Rebuild the reflection box example in the area lights room by @mvaligursky in #9895
- Rebuild the post-processing example in the area lights room with every CameraFrame effect by @mvaligursky in #9896
- Rebuild the clustered area lights example as floating lights above a metallic floor by @mvaligursky in #9898
- Rebuild the dynamic batching example as a kinetic sculpture by @mvaligursky in #9901
- Rebuild the render to texture example in the area lights room by @mvaligursky in #9900
- Redesign the video texture example by @mvaligursky in #9913
- Redesign the tween example by @mvaligursky in #9918
- Redesign the area picker example by @mvaligursky in #9919
- Redesign four of the compute examples by @mvaligursky in #9926
- Restyle the mesh particles example by @mvaligursky in #9956
- Reskin the mesh-deformation example by @mvaligursky in #9967
- Reskin the snow example by @mvaligursky in #9969
- Reskin the light-physical-units example by @mvaligursky in #9970
- Reskin the dithered transparency example and decorrelate dither between meshes by @mvaligursky in #9981
- Use Gaussian scene color mipmaps in the transmission-roughness example by @mvaligursky in #9968
- Update the Spineboy example to Spine 4.3 by @mvaligursky in #9713
- Update the Spine 4.3 plugin to the latest playcanvas-spine release by @mvaligursky in #9716 #9719
- Compress the car showcase assets, and drop its unused shadow code by @mvaligursky in #9953
- Declare the shader chunk API version of the car showcase sweeps by @mvaligursky in #9954
- Share one shader across the car-showcase paints by @mvaligursky in #9976
- Reconvert the SOG v3 logo with the merged splat-transform writer by @mvaligursky in #9979
- Show the raw blind fields in the blind-data example by @mvaligursky in #9963
- Remove the legacy Gaussian splatting picking example by @mvaligursky in #9966
- Remove unused scifi-platform.glb example asset by @mvaligursky in #9949
- Fix examples applying settings before the initial values are set by @mvaligursky in #9640
- Apply settings once the depth of field data is set by @mvaligursky in #9685
- Declare the msaa-depth-fog resolved depth as unfilterable by @mvaligursky in #9668
- Destroy the material of each debris crate in the entity inspector example by @mvaligursky in #9692
- Draw the lines of the compute histogram example every frame by @mvaligursky in #9711
- Stop orthographic example views clipping at the camera near plane by @kpal81xd in #9840
- Preview the shot camera view in the editor example while it is selected by @kpal81xd in #9884
- Default the shape gizmo example to the capsule by @kpal81xd in #9847
- Migrate the remaining examples from orbitCamera to CameraControls by @kpal81xd in #9843
- Work around stuck mouse buttons in the particle blast example by @mvaligursky in #9909
- Remove the Function.prototype.call override from the examples by @mvaligursky in #9910
- Move each example into its own folder, with its thumbnails by @mvaligursky in #9886
- Move CameraFrame examples to a camera-frame category by @mvaligursky in #9676
- Move render target examples into the render-targets category by @mvaligursky in #9693
- Move light and shadow examples to lights-and-shadows by @mvaligursky in #9792
- Move the grid example to the debug category by @mvaligursky in #9950
- Move seven examples to the graphics-advanced category by @mvaligursky in #9952
- Move the particle system examples to a particles category by @mvaligursky in #9955
- Split Gaussian splatting examples into a new gaussian-splatting-fx category by @mvaligursky in #9959
- Highlight controls panel section headers like the sidebar categories by @mvaligursky in #9699
- Show the start of the example's category when opening the examples browser by @mvaligursky in #9922
- Show imported scripts as read-only code editor tabs by @mvaligursky in #9934
- Show the code editor download as an icon, with quicker tooltips by @mvaligursky in #9936
- Type check the examples and resolve multi-file example imports by @kpal81xd in #9812
- Fail CI when an example is missing a thumbnail by @mvaligursky in #9908
- Resolve the inspector's engine peer to the linked engine by @mvaligursky in #9641
- Rename the inspector example and let it profile from the start by @mvaligursky in #9856
- Update @playcanvas/inspector to 0.2.0 by @mvaligursky in #9642
- Update @playcanvas/inspector to 0.3.0 by @mvaligursky in #9766
- Update the examples to @playcanvas/inspector 0.5.0 by @mvaligursky in #9957
- Correct types reported by RuntimeTypeInspector by @mvaligursky in #9643
- Make createScript types inherit the static members of ScriptType by @mvaligursky in #9644
- Declare LitMaterial#dirLightMap, read by its shader options by @mvaligursky in #9652
- Widen JSDoc types to the values the engine accepts by @mvaligursky in #9653
- Clarify that AppBase#timeScale does not pause scripts by @willeastcott in #9807
- Make CameraFrame#createRenderPass internal by @mvaligursky in #9845
- Describe the DynamicSkyEffect in XR by @mvaligursky in #9857
- Describe the ACES tonemapping fits and the screen space units of the camera conversions by @mvaligursky in #9872
- Describe releasing the WebGL context after AppBase#destroy by @mvaligursky in #9912
- Document the resource handlers that AppBase apps register by @mvaligursky in #9920
- Use American spelling across the engine, scripts, tests and examples by @willeastcott in #9940
- Update dependency sharp to v0.35.5 [security] in #9687
- Update dependency vite to v8.3.3 [security] in #9805
- Update dependency node to v26 in #9850
- @GibsDev
- @kpal81xd
- @mmporong
- @MokiMeow
- @MotivaCG
- @mvaligursky
- @slimbuck
- @willeastcott
- @zzoraemon043
- @MokiMeow made their first contribution in #9723
- @GibsDev made their first contribution in #9814
- @zzoraemon043 made their first contribution in #9798
- @mmporong made their first contribution in #9915
Full Changelog: https://github.com/playcanvas/engine/compare/v2.23.3...v2.24.0
v2.23.3
- Warn about unregistered render containers only when preload starts by @mvaligursky in #9771
Full Changelog: https://github.com/playcanvas/engine/compare/v2.23.2...v2.23.3
v2.23.2
- Stream gsplat LOD levels coarsest first across the whole view by @mvaligursky in #9694
- Keep the Node worker_threads require out of bundled worker code by @mvaligursky in #9656
- Keep the canvas resolution when its client size is zero by @mvaligursky in #9671
- Skip the MiniStats draw when it has nothing to render by @mvaligursky in #9672
Full Changelog: https://github.com/playcanvas/engine/compare/v2.23.1...v2.23.2
v2.23.1
- Fix apps not being announced to the devtools hook from every build by @mvaligursky in #9646
- Keep MiniStats sized to the canvas when it resizes without a resizecanvas event by @slimbuck in #9661
- Do not fire tween events that have no name by @mvaligursky in #9650
- Resolve the inspector's engine peer to the linked engine by @mvaligursky in #9641
Full Changelog: https://github.com/playcanvas/engine/compare/v2.23.0...v2.23.1
v2.23.0
- Add distanceSq by @AlexAPPi in #9313
- Add useFog/useTonemap to ParticleSystemComponent, deprecate noFog by @mvaligursky in #9340
- Load audio assets regardless of the URL's file extension by @mvaligursky in #9365
- Poll gamepads every frame without allocating by @willeastcott in #9470
- Run the engine headless in Node.js without jsdom by @willeastcott in #9504
- Replace batch.origMeshInstances[0] with sourceMeshInstance variable by @AlexAPPi in #9454
- Store mesh instance matrices in a persistent storage buffer on WebGPU by @mvaligursky in #9614
- Add a bloom threshold to CameraFrame by @mvaligursky in #9455
- Add per-attachment clear colors to the camera for multiple render targets by @mvaligursky in #9333
- Support stencil clears inside a render pass on WebGPU by @mvaligursky in #9612
- Allow camera viewports extending past the render target on WebGPU by @mvaligursky in #9516
- Add partial vertex and index buffer uploads by @mvaligursky in #9401
- Add screen_size to forward view uniforms and deprecate uScreenSize by @mvaligursky in #9331
- Pack forward view uniforms to reduce alignment padding by @mvaligursky in #9332
- Move per-pass uniforms into the view uniform buffer by @mvaligursky in #9582
- Move textureBias into the view uniform buffer by @mvaligursky in #9484
- Supply per-pass textures through the WebGPU view bind group by @mvaligursky in #9521
- Publish the scene environment textures under their own uniforms by @mvaligursky in #9364
- Add an opt-in std140 packing order to UniformBufferFormat by @mvaligursky in #9400
- Stop creating typed array views for every dynamic uniform buffer update by @mvaligursky in #9418
- Retain WebGPU render pipelines between draws by @mvaligursky in #9380
- Look the WebGPU render pipeline up only when its state changes by @mvaligursky in #9492
- Write WebGPU buffer data directly from its storage by @mvaligursky in #9379
- Pass WebGPU bind group dynamic offsets as a typed array by @mvaligursky in #9487
- Skip WebGPU vertex and index buffer binds the render pass already has by @mvaligursky in #9496
- Keep the backing store of the device vertex buffer list across draws by @mvaligursky in #9498
- Assign bind group slots by index during the update by @mvaligursky in #9425
- Split the bind group update into a scope path and an owner path by @mvaligursky in #9429
- Leave a texture out of the mesh bind group when a supplied group has it by @mvaligursky in #9436
- Let the graphics device own the built-in textures by @mvaligursky in #9438
- Rebuild layer mesh arrays lazily after removals by @mvaligursky in #9378
- Pack the mesh instance light mask into 8 bits, for 24 shader define flags by @mvaligursky in #9617
- Rename supportsUniformBuffers to usesMeshBindGroups by @mvaligursky in #9383
- Split WebGPU device creation from device initialization by @mvaligursky in #9483
- Ignore MeshInstance#setIndirect where indirect draw is not supported by @mvaligursky in #9462
- Remove obsolete immediate mesh rendering by @mvaligursky in #9385
- Remove the shader dump and precompile workflow by @mvaligursky in #9477
- Remove obsolete Mac Chrome blitFramebuffer workaround by @mvaligursky in #9318
- Remove obsolete Safari texture unit workaround by @mvaligursky in #9319
- Move light uniforms into the view uniform buffer, uploaded once per pass by @mvaligursky in #9482
- Give every light an absolute slot, shared by all light masks by @mvaligursky in #9475
- Dispatch the lights of a pass once, not per light mask by @mvaligursky in #9479
- Consolidate light slots into a LightList shared by renderer, shaders and lightmapper by @mvaligursky in #9481
- Make world-cluster allocation request/execute based by @mvaligursky in #9473
- Fade directional shadows at the far distance by @mvaligursky in #9417
- Skip shadow sampling beyond the far distance by @mvaligursky in #9419
- Request directional shadow culling from scheduled render passes by @mvaligursky in #9423
- Request local shadow culling from scheduled render passes by @mvaligursky in #9428
- Cull only requested directional shadow cascades by @mvaligursky in #9437
- Skip spot VSM blur when the shadow pass does not execute by @mvaligursky in #9440
- Set shadow caster material state once per material run by @mvaligursky in #9524
- Derive the normal matrix of shader materials in the shadow pass by @mvaligursky in #9585
- Give a mesh instance lightmap its own texture slot by @mvaligursky in #9415
- Bind only the lightmap slots a bake writes by @mvaligursky in #9420
- Fix shadow shader selection when changing cascade count by @mvaligursky in #9343
- Reset clustered shadow lights before preparing each frame by @mvaligursky in #9414
- Fix WebGPU shadow shader compile error for PCSS spot lights by @mvaligursky in #9545
- Pass an empty LightList, not 0, to the shadow pass shaders by @willeastcott in #9556
- Hidden mesh instances with culling disabled no longer cast shadows by @mvaligursky in #9606
- Add a material bind group slot and cached shader processing keys by @mvaligursky in #9370
- Hold the textures of a material in its own bind group by @mvaligursky in #9457
- Bind the material bind group at a material switch instead of at every draw by @mvaligursky in #9413
- Store StandardMaterial diffuse in a material-owned uniform buffer by @mvaligursky in #9381
- Store emissive color and intensity in the material uniform buffer by @mvaligursky in #9392
- Store the remaining StandardMaterial colors and numbers in the material uniform buffer by @mvaligursky in #9398
- Store the derived StandardMaterial uniforms in the material uniform buffer by @mvaligursky in #9402
- Store the texture map transforms in the material uniform buffer by @mvaligursky in #9405
- Store the cube map projection box in the material uniform buffer by @mvaligursky in #9406
- Copy the cube map projection box into the material instead of keeping a reference by @mvaligursky in #9411
- Support mesh instance overrides of material uniform buffer values by @mvaligursky in #9386
- Let a mesh instance override a texture of the material bind group by @mvaligursky in #9445
- Restore global scope values after mesh instance parameter overrides by @mvaligursky in #9588
- Warn in debug builds when a mesh instance override array changes in place by @mvaligursky in #9395
- Warn about material and mesh instance parameters of view uniforms by @mvaligursky in #9619
- Add support for all eight UV sets in StandardMaterial by @mvaligursky in #9376
- Make alphaTest an accessor of Material and retire the generic float property helper by @mvaligursky in #9408
- Separate sprite color from material uniforms by @mvaligursky in #9337
- Separate UI element colors from material uniforms by @mvaligursky in #9338
- Pass the model scale to dynamic refraction from the vertex shader by @mvaligursky in #9616
- Fix LitMaterial ambient by making the ambient tint a lit argument by @mvaligursky in #9538
- Fix StandardMaterial shader invalidation for environment textures and 0/1 number changes by @mvaligursky in #9359
- Fix StandardMaterial shader invalidation for refraction thresholds by @mvaligursky in #9363
- Make StandardMaterial texture map iteration ignore prototype properties by @mvaligursky in #9368
- Stop placeholder textures from forcing shader recompiles by @mvaligursky in #9592
- Make gsplat LOD distance-only, with target or limit splat budgets by @mvaligursky in #9584
- Only judge oversized gsplat LOD nodes by their middle by @mvaligursky in #9586
- Gsplat LOD: empty level for nodes without coarse data; distance default by @mvaligursky in #9326
- Load streamed gsplat LOD files nearest the camera first by @mvaligursky in #9520
- Update StreamedGSplat presets to use LOD falloff by @mvaligursky in #9369
- Stochastic alpha rendering for the GPU-sort gsplat renderer by @slimbuck in #9443
- Flat per-splat gsplat varyings and fix ComputeRadixSort reallocation on growth by @slimbuck in #9372
- Allow either provoking vertex for WGSL splat varyings by @mvaligursky in #9374
- Prefer first provoking vertex on WebGL by @mvaligursky in #9375
- Use a per-axis focal length for the gsplat footprint by @dfattal in #9486
- Skip compute work for cached Gaussian splat shadows by @mvaligursky in #9416
- Make Gaussian splatting GLB support tree-shakeable by @mvaligursky in #9327
- Make GSplat scene parameters tree-shakeable by @mvaligursky in #9328
- Avoid retaining GSplat work buffer shaders in container bundles by @mvaligursky in #9322
- Apply withCredentials to the gsplat loaders that stream with fetch by @mvaligursky in #9458
- Warn when gaussian splats render into a multisampled target by @mvaligursky in #9532
- Fix gsplat GPU sort flicker from sort key precision loss by @mvaligursky in #9493
- Fix mirrored gsplat footprints in flipped render targets by @mvaligursky in #9490
- Fix fisheye gsplats and sky in flipped render targets by @mvaligursky in #9495
- Correct gsplat spherical harmonics with orthographic cameras by @mvaligursky in #9531
- Fix NVIDIA GPU hangs during gsplat depth picking by @slimbuck in #9572
- Prevent gsplat crash after destroying a splat entity by @mvaligursky in #9522
- Prevent gsplat streaming crash after destroying a camera by @mvaligursky in #9533
- Render gsplats again after a camera re-adds their layer by @mvaligursky in #9535
- Keep gsplat placement changes made in frame:ready handlers by @mvaligursky in #9536
- Stop a gsplat from blanking for a frame when its asset is replaced by @willeastcott in #9610
- Add RigidBodyComponent#gravityScale by @willeastcott in #9465
- Add a hitBackFaces raycast option to skip mesh collider back faces by @willeastcott in #9506
- Tighten the public surface of the physics API by @willeastcott in #9519
- Harden physics raycasts and forward the Application physicsWorld option by @willeastcott in #9517
- Ship an Ammo build whose heap starts at 16MB and grows on demand by @willeastcott in #9488
- Route the Ammo internal tick callback through one dispatcher per module by @willeastcott in #9463
- Apply gravity to the physics backend on install and when it changes by @willeastcott in #9439
- Refresh Ammo broadphase bounds when a body is teleported by @willeastcott in #9489
- Mirror mesh colliders with negative scale factors by @willeastcott in #9499
- Keep the orientation of mirrored dynamic bodies across physics steps by @willeastcott in #9500
- Fix mesh colliders sharing a mesh at different scales and rebuild them on scale changes by @willeastcott in #9311
- Sync compound children from their own transforms, not the root's dirty flag by @willeastcott in #9456
- Rebuild a collision component as a trigger when its rigid body is removed by @willeastcott in #9464
- Give both entities of a contact the normal of the other surface by @willeastcott in #9450
- Stop a double XR start from leaving a broken session by @willeastcott in #9599
- Stop the app freezing when an XR session ends by @willeastcott in #9600
- Stop XR culling from using the previous frame's head pose by @willeastcott in #9601
- Remove XR event listeners that outlive their owners by @willeastcott in #9623
- Apply camera clip plane changes to a running XR session by @willeastcott in #9624
- Correct XR input source rays and velocities by @willeastcott in #9625
- Start XrSession sessions facing the way the camera looks by @willeastcott in #9626
- Keep removed XR planes and meshes readable, and harden hit testing by @willeastcott in #9627
- Keep XrControllers models loaded while input sources share them by @willeastcott in #9631
- Hide XrControllers models while their pose is not tracked by @willeastcott in #9635
- Stop XrNavigation teleporting on system menu gestures by @willeastcott in #9636
- Document the XR select events of ElementComponent by @willeastcott in #9633
- Warn when image materials have no opaque render pass by @mvaligursky in #9346
- Keep an element's position when it is added to an entity under a screen by @willeastcott in #9525
- Let ElementDragHelper drag an element that is a direct child of a screen by @willeastcott in #9551
- Update a scrollbar's handle when its track is resized by @willeastcott in #9573
- Fix layout group subscriptions when components change by @mvaligursky in #9399
- Build text meshes without a pass over empty arrays by @willeastcott in #9562
- Skip drawing text with an empty render range by @willeastcott in #9567
- Draw CanvasFont glyph cells fully transparent by @willeastcott in #9568
- Fix a markup parser crash when a tag name shadows hasOwnProperty by @willeastcott in #9468
- Correct UI component docs, the Spanish locale fallback and button examples by @willeastcott in #9552
- Restore WebGPU rendering resources after device loss by @mvaligursky in #9355
- Restore WebGPU profiling after device loss by @mvaligursky in #9357
- Fix WebGPU recovery for compute, readback and generated data by @mvaligursky in #9358
- Cancel WebGPU recovery when the device is destroyed by @mvaligursky in #9397
- Fix WebGPU resource cleanup on device destruction by @mvaligursky in #9394
- Restore the WebGL backbuffer before recovery callbacks by @mvaligursky in #9347
- Recover SOG streaming across WebGL context loss by @mvaligursky in #9350
- Restore procedural sky lighting after device recovery by @mvaligursky in #9351
- Add cross-backend debug device loss testing by @mvaligursky in #9353
- Restore generated HDR environments in examples after device loss by @mvaligursky in #9345
- Redraw the on-demand splat example after device recovery by @mvaligursky in #9348
- Rebake example lightmaps after device recovery by @mvaligursky in #9352
- Redesign MiniStats with compact and grouped profiling views by @mvaligursky in #9307
- Add collapsible MiniStats sections by @mvaligursky in #9361
- Add tracked resource counts to MiniStats by @mvaligursky in #9366
- Expose application performance statistics through AppStats by @mvaligursky in #9308
- Add user counters to AppStats by @mvaligursky in #9341
- Correct MiniStats timing and build availability documentation by @mvaligursky in #9310
- Add TextureRenderer for debug texture previews by @mvaligursky in #9382
- Add per-camera culling and display fixes to TextureRenderer by @mvaligursky in #9387
- Add a debug-engine draw limit for stepping through a render pass by @mvaligursky in #9501
- Add descriptive GPU profiling names for quad passes by @mvaligursky in #9329
- Track shaders on every graphics device by @mvaligursky in #9466
- Add a bare WebGL 2 device type for testing on constrained devices by @mvaligursky in #9471
- Announce apps to a devtools hook by @mvaligursky in #9618
- Add AppOptions#devtools to opt out of the devtools hook by @mvaligursky in #9637
- Add missing TEXTURE_2D_ARRAY entry to targetToSlot by @mvaligursky in #9321
- Fix sprite tint color space conversion by @mvaligursky in #9334
- Clear keyboard and mouse states on detach and focus loss by @mvaligursky in #9344
- Reset stale mouse movement deltas by @mvaligursky in #9349
- Fix WebGPU texture-formats-tier feature names and rename their flags by @mvaligursky in #9390
- Fix skydome depth of field with scene-pass depth by @mvaligursky in #9391
- Wait for container meshes before marking render assets ready by @mvaligursky in #9404
- Fix Picker readback rectangle in the top-left to bottom-left flip by @mvaligursky in #9441
- Reconstruct the picked world position at the pixel center by @mvaligursky in #9446
- Call super.frameUpdate() from RenderPassCompose by @mvaligursky in #9449
- Copy the render style onto a batched mesh instance by @mvaligursky in #9448
- Fix CameraComponent#setShaderPass() throwing when resetting the pass by @mvaligursky in #9451
- Resolve glb model resources against the directory of the glb by @mvaligursky in #9453
- Stop leaking a DrawCommands set per indirect draw per frame by @mvaligursky in #9459
- Fix bundle asset load retrying and error-response handling by @mvaligursky in #9460
- Fix the WebGL multi-draw fallback submitting no draws by @mvaligursky in #9461
- Treat every 2xx HTTP status as success by @willeastcott in #9507
- Accept status 0 responses from non-http schemes by @willeastcott in #9508
- Fix Curve.closest outside unit range by @humairaambreen in #9543
- Return the first key from Curve#closest for times before the curve by @willeastcott in #9544
- Accept mesh instances without a material in Layer#addMeshInstances by @mvaligursky in #9579
- Skip disabled entities in OutlineRenderer by @mvaligursky in #9452
- Fix OutlineRenderer shader errors when clustered lighting is disabled by @mvaligursky in #9590
- Fix OutlineRenderer material cleanup and frameUpdate listener leak by @mvaligursky in #9589
- Fix OutlineRenderer outlines missing with some CameraFrame settings by @mvaligursky in #9594
- Blur the TAA output in the camera frame's bloom and depth of field by @willeastcott in #9591
- Fix calculateNormals returning NaN for vertices with no triangle area by @mvaligursky in #9596
- Fix FloatPacking.float2Half corrupting values too large for a half float by @mvaligursky in #9595
- Clean up pole and tip triangles in sphere, capsule and cone geometry by @mvaligursky in #9597
- Keep screen-space particles square on any canvas aspect by @willeastcott in #9570
- Export skinned meshes to USDZ where their bones place them by @willeastcott in #9546
- Use the WGSL built-in saturate, fixing lightVertexColor on WebGPU by @mvaligursky in #9598
- Flip the vertex normal of back faces for two sided lighting by @willeastcott in #9559
- Initialize GraphicsDevice renderPassIndex to 0 by @mvaligursky in #9605
- Load cubemap faces given as URLs as sRGB color, not RGBP by @mvaligursky in #9607
- Fix Texture#lock on cubemap faces and mip levels by @mvaligursky in #9608
- Fix WebGPU stencil read mask, reuse pipelines across stencil refs by @mvaligursky in #9611
- Make createGraphicsDevice reject instead of hanging when no device can be created by @willeastcott in #9603
- Depth state fixes (depthTest, WebGPU depth bias, layer reset) by @mvaligursky in #9615
- Fix BlendState#setAttachment reviving overrides cleared by copy by @mvaligursky in #9620
- Restyle the examples browser by @mvaligursky in #9629
- Slim the collapsed code pane and hide the code minimap by @mvaligursky in #9632
- Open the PlayCanvas Inspector in the examples browser by @mvaligursky in #9621
- Serve the inspector loader as is in the dev server by @mvaligursky in #9638
- Link a whole examples category by URL by @mvaligursky in #9303
- Add category sharing and expand-all controls by @mvaligursky in #9356
- Reveal current example when clearing search by @mvaligursky in #9354
- Rebuild the UI button, panel, masking and custom shader examples by @willeastcott in #9565
- Rebuild the UI text examples by @willeastcott in #9566
- Rebuild the UI layout, image and world examples by @willeastcott in #9569
- Add the UI input, common widgets and drag and drop examples by @willeastcott in #9571
- Add a hidden test example for UI element states by @mvaligursky in #9580
- Add rendering without entities example by @mvaligursky in #9377
- Add environment sources test example by @mvaligursky in #9360
- Give the render to image example a knight of its own by @willeastcott in #9583
- Refresh the MiniStats example scene by @mvaligursky in #9309
- Migrate examples to TextureRenderer by @mvaligursky in #9384
- Load the VAT character data as a binary asset in the vat-characters example by @mvaligursky in #9518
- Render gaussian splat crop and depth-of-field examples without MSAA by @mvaligursky in #9634
- Restore the depth prepass in the gaussian splat depth-of-field example by @mvaligursky in #9639
- Apply area-picker example material changes via update() by @mvaligursky in #9497
- Remove no-op bloom.enabled writes from examples by @mvaligursky in #9476
- Replace the Arial and Courier fonts of the examples and tests with Roboto by @willeastcott in #9577
- Ship the Roboto ExtraLight license with the XR examples' font by @willeastcott in #9576
- Type Entity#addComponent options and result by component name by @willeastcott in #9320
- Type Asset#resource by asset type (Asset, AssetMap, AssetType) by @willeastcott in #9403
- Type the script lookup APIs against Script and return the class you pass in by @willeastcott in #9472
- Type element input events with the browser objects they carry by @willeastcott in #9527
- Add alpha option to createGraphicsDevice typings by @willeastcott in #9317
- Fix JSDoc types that disagree with runtime values, salvaged from #5817 by @willeastcott in #9469
- Fix Debug.assert and Texture levels JSDoc types by @willeastcott in #9491
- Clear all API reference build warnings and treat warnings as errors by @willeastcott in #9412
- Add a Framework category and home the uncategorised public classes by @willeastcott in #9421
- Rewrite Asset-related class overviews and document every resource handler by @willeastcott in #9409
- Rewrite the Math category class overviews by @willeastcott in #9410
- Rewrite the scene graph and render pipeline class overviews by @willeastcott in #9422
- Rewrite the material class overviews by @willeastcott in #9424
- Make the modern input system the Input category and describe its classes by @willeastcott in #9427
- Describe the modern animation classes and mark the legacy ones by @willeastcott in #9430
- Describe the sound classes and template the thin component system pages by @willeastcott in #9432
- Describe the Gizmo and TransformGizmo base classes by @willeastcott in #9433
- Use American spelling in the Material and LitShaderOptions overviews by @willeastcott in #9431
- Document which asset types fire the progress event by @willeastcott in #9474
- Correct RigidBodyComponent group/mask defaults and raycastAll sort order by @willeastcott in #9305
- Fix physics docs for impulse points, kinematic velocity and contact results by @willeastcott in #9515
- Improve OutlineRenderer API documentation by @mvaligursky in #9587
- Correct typos and British spellings across the engine source by @willeastcott in #9547
- Correct typos and British spellings in examples, scripts and tests by @willeastcott in #9550
- Add a context7.json so Context7 indexes usage docs and agent rules by @willeastcott in #9478
- Point the Context7 rules at the llms.txt indexes by @willeastcott in #9503
- Update dependency sharp to v0.35.4 [SECURITY] in #9330
- Update all npm dependencies in #9434
- Update dependency mocha to v12 in #9435
- @AlexAPPi
- @dfattal
- @humairaambreen
- @mvaligursky
- @slimbuck
- @willeastcott
- @dfattal made their first contribution in #9486
- @humairaambreen made their first contribution in #9543
Full Changelog: https://github.com/playcanvas/engine/compare/v2.22.6...v2.23.0
v2.22.6
- Fix acceptance of mesh instances without a material in
Layer#addMeshInstancesby @mvaligursky in #9579
Full Changelog: https://github.com/playcanvas/engine/compare/v2.22.5...v2.22.6
v2.22.5
- Fix element position when added to an entity under a screen by @willeastcott in #9525
- Prevent NVIDIA GPU hangs during gsplat depth picking by @mvaligursky in #9575
Full Changelog: https://github.com/playcanvas/engine/compare/v2.22.4...v2.22.5