Releases: playcanvas/engine
v0.201.0
Texture
properties such asanisotropy
,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 statesTexture
now can have mipmaps generated/enabled on demand or avoided ifmipmaps
is falseTexture.autoMipmaps
is deprecated and renamed tomipmaps
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 wasundefined
it assumed that name of property is an object, leading to stack overflow - [FIX] script clones in some cases could assign
Vec#
orColor
attribute instead of cloning it, leading to shared attribute issue between scripts - [FIX] assets variants caching issue due to
getFileUrl
not including filehash
v0.200.0
- 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
- 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
andimage
sub-objects in element component - Various fixes for element component
v0.197.0
- 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
- Add support for ETC1 asset variant loading.
- [FIX] Don't call pc.Model#destroy twice on unloading.
v0.193.0
- Support for Asset Variants (DXT textures)
- [FIX] Directional lightmap shader not always recompiled
v0.192.2
- 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
- Added lightmapMode scene setting
- Support absolute URLs for assets
- Added portal engine example
- [FIX] build issues on Windows
v0.191.0
[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
- [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
wasthisframe
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