Skip to content

Releases: playcanvas/engine

v0.201.0

16 Nov 16:26
Compare
Choose a tag to compare
  • Texture properties such as anisotropy, addressU, addressV, minFilter, magFilter now are not modified by engine on set. But sensible data then in set on device to avoid warnings and invalid webgl texture states
  • Texture now can have mipmaps generated/enabled on demand or avoided if mipmaps is false
  • Texture.autoMipmaps is deprecated and renamed to mipmaps
  • Texture refactored
  • Many improvements and fixes on VR
  • [DOCS] Vec's now use component terminology to refer to a single value within multi-dimensional vectors
  • [FIX] Material.setParameter issue if data was undefined it assumed that name of property is an object, leading to stack overflow
  • [FIX] script clones in some cases could assign Vec# or Color attribute instead of cloning it, leading to shared attribute issue between scripts
  • [FIX] assets variants caching issue due to getFileUrl not including file hash

v0.200.0

01 Nov 11:33
Compare
Choose a tag to compare
  • WebVR Support - Optimized stereo rendering & VR API
  • CameraComponent.enterVr(), CameraComponent.exitVr()
  • Added pc.VrDisplay & pc.VrManager
  • Refactor pc.Light to replace accessor methods with properties
  • Use texture placeholders on materials to reduce number of shader compilations
  • [FIX] Particle AABBs
  • [FIX] Fix RenderTarget#destroy()
  • [FIX] Full screen polyfill fires events from correct element
  • [FIX] ModelComponent.meshInstances to be null if no model is set
  • [FIX] How shadow casting interacts with lightmapper

v0.198.0

11 Oct 10:33
Compare
Choose a tag to compare
  • Optimize pc.Entity#addChild by removing check for duplicate GUID
  • pc.RigidBodyComponentSystem#raycastFirst callback argument is deprecated
  • Remove pc.GraphNode#getParent from the API ref, use pc.GraphNode#parent instead
  • [FIX] pc.GraphNode#removeChild no longer clears the child's parent if called with non-child entity
  • [FIX] pc.Model#destroy()
  • Remove text and image sub-objects in element component
  • Various fixes for element component

v0.197.0

16 Sep 13:22
Compare
Choose a tag to compare
  • New tonemapping algorithms: Hejl-Dawson and Simplified ACES
  • Added more refined stats to vram usage for asset textures, shadowmaps and move lightmap profiling to app.stats.vram.texLightmap
  • [FIX] remove resources from loader cache when unloaded
  • [FIX] model component to handles unloading of material
  • [FIX] delete texture/parameter data from materials when materials are unloaded

v0.196.1

15 Sep 17:19
Compare
Choose a tag to compare
  • Add support for ETC1 asset variant loading.
  • [FIX] Don't call pc.Model#destroy twice on unloading.

v0.193.0

06 Sep 13:40
Compare
Choose a tag to compare
  • Support for Asset Variants (DXT textures)
  • [FIX] Directional lightmap shader not always recompiled

v0.192.2

30 Aug 13:00
Compare
Choose a tag to compare
  • Optimize out calls to bindFramebuffer.
  • Optimize face culling render state.
  • Optimizations for scripts 2.0
  • Only set viewport or scissor rect if it has changed.
  • Use asset.getFileUrl instead of asset.file.url from now on - getFileUrl includes the asset registry prefix
  • [FIX] Post effects example
  • [FIX] Render line example
  • [FIX] Docs typos

v0.192.0

09 Aug 11:59
Compare
Choose a tag to compare
  • Added lightmapMode scene setting
  • Support absolute URLs for assets
  • Added portal engine example
  • [FIX] build issues on Windows

v0.191.0

02 Aug 16:20
Compare
Choose a tag to compare

[ADD] Expose API for utilizing the stencil buffer.
[ADD] Static lights now only affect the triangles they intersect on static mesh instances.
[ADD] Directional light maps that take both normal maps and specular into account.
[ADD] Light cookie transformations to give further control over cookie appearance.
[ADD] pc.GraphicsDevice#supportsMsaa reports if MSAA is supported/enabled.
[BREAKING] Screen space depth is now written as linear view depth.
[IMPROVEMENT] Camera depth render target has stencil buffer by default (can be used for various effects).
[OPTIMIZATION] pc.LightComponent#castShadows has been optimized.
[FIX] Incorrect lightmap dilation.
[FIX] Bugs in pc.StandardMaterial's key generation.
[FIX] Frustum culling bug which was related to parent scale.
[FIX] Particle system now correctly cleans up on application destroy.
[FIX] Memory leak when destroying render targets.
[DOCS] Added docs for pc.BoundingBox#add.
[DOCS] Added docs for lightmapper.
[DOCS] Improved docs for pc.Texture API.

v0.190.0

20 Jul 16:32
Compare
Choose a tag to compare
  • [ADD] cullingMask to the Camera (by @aidinabedi)
  • [ADD] zoneComponent - barebone component that allows to define world space area as oriented box
  • [ADD] propagate sound instance events to the sound slot and the sound component
  • [IMPROVEMENT] reduced memory allocations of sound system
  • [IMPROVEMENT] material properties such as alpha or face cull is now respected during lightmap baking
  • [CHANGE] do not pass the sound instance as an argument to sound instance events
  • [CHANGE] "extra scripts" now converted to scripts 2.0
  • [FIX] screen was not clearing if there were zero draw calls
  • [FIX] shadows were not updating when shadowUpdateMode was thisframe and light was initially culled
  • [FIX] scripts 2.0 attributes were not copied on clone
  • [FIX] alpha sort now respects layers
  • [FIX] animation component were not clearing up properly event handlers on assets when component were removed