Skip to content

Releases: playcanvas/engine

v1.57.1

06 Oct 11:17
Compare
Choose a tag to compare

Bug Fixes

Full Changelog: v1.57.0...v1.57.1

v1.57.0

29 Sep 14:26
43ce2af
Compare
Choose a tag to compare

Major changes

New features

Fixes

New Contributors

Full Changelog: v1.56.0...v1.57.0

v1.56.0

30 Aug 14:36
Compare
Choose a tag to compare

Larger Features

What's new

Bug Fixes

New Contributors

Full Changelog: v1.55.0...v1.56.0

Notes

To enable the new dynamic refractions, a few modifications are required on the application side, first, you need to add this:

            const depthLayer = app.scene.layers.getLayerById(pc.LAYERID_DEPTH);
            app.scene.layers.remove(depthLayer);
            app.scene.layers.insertOpaque(depthLayer, 2);

What this does is to rearrange the layers such that the skydome will be part of the grab pass. Then we need to make the camera actually perform the grab pass:

            const camera = new pc.Entity();
            camera.addComponent("camera", {
                clearColor: new pc.Color(0.4, 0.45, 0.5)
            });
            camera.setLocalPosition(0, 5, 30);
            camera.camera.requestSceneColorMap(true);

The last thing to do is to make sure you create the graphics device with the alpha option set to true

        // Create the app and start the update loop
        const app = new pc.Application(canvas, {
            graphicsDeviceOptions: {
                alpha: true
            },
            mouse: new pc.Mouse(document.body),
            keyboard: new pc.Keyboard(document.body),
            touch: new pc.TouchDevice(document.body)
        });

v1.55.4

15 Aug 14:03
Compare
Choose a tag to compare

Bug Fixes

  • Updated REGEX for Samsung Exynos check for Snapchat Minis (#4515)
  • [Fix] Fix error message accessing null in SkinInstance (#4526)
  • Clear wasm module global (#4527)
  • Fix preprocessor regexp matching extensions (#4530)
  • fix for the named morph targets feature (#4532)

Full Changelog: v1.55.3...v1.55.4

v1.55.3

04 Aug 17:56
Compare
Choose a tag to compare

Bug Fixes

  • Fix glb-parser logic (#4510)
  • Fixed nine-sliced tiled elements (#4511)

v1.55.2

03 Aug 14:59
Compare
Choose a tag to compare

Bug Fixes

  • Handle refractionIndex as being one over refraction index. (#4499)
  • Fix gltf ior (#4501)

Full Changelog: v1.55.1...v1.55.2

v1.55.1

02 Aug 14:41
Compare
Choose a tag to compare

What's New

  • Support RGBP encoding (#4414)

Bug Fixes

  • Skip morph target curve outputs with no data (#4474)
  • Remove unnecessary warnings (#4475)
  • Support extension declarations in shader preprocessor (#4476)
  • Remove extraneous bracket in diffuseDetailMap shader chunk by @Mintytorus (#4481)
  • Increase the shadow resolution in model-outline example to avoid banding (#4491)
  • Added deprecated private Scene._updateSkybox function to avoid Editor breaking (#4492)
  • Back out tuple notation which is not supported by JSDoc (#4493)
  • Revert "Enable clustered lighting by default (#4364)" (#4494)
  • Revert "Make touch events passive like mouse events (#4279)" (#4495)
  • Polyfill for Object.values by @kungfooman (#4482)

Full Changelog: v1.55.0...v1.55.1

v1.55.0

19 Jul 14:32
Compare
Choose a tag to compare

Larger features

What's New

Bug fixes

Read more

v1.54.1

16 Jun 08:38
Compare
Choose a tag to compare

Bug Fixes

  • revert #4279 till we iron out the kinks

Full Changelog: v1.54.0...v1.54.1

v1.54.0

06 Jun 14:06
Compare
Choose a tag to compare

What's New

Bug Fixes

New Contributors

Full Changelog: v1.53.4...v1.54.0