Releases: playcanvas/engine
v0.219.5
v0.219.3
-
Added Runtime Batching which allows multiple mesh instances to be combined into batches in order to reduce draw calls
-
Added two-sided lighting in
pc.StandardMaterial
-
Allow chunks and custom uniforms in shadow shaders
-
Parameters now have
passFlags
to determine in which passes they are used -
[FIX] Enable mouse input and touch input simultaneously for Elements
-
[FIX] Initialize
pc.Element#autoWidth
andpc.Element#autoHeight
before other properties so that the text element has the correct width after it's initialized. -
[FIX] Fix
initialize
andpostInitialize
not called on script instances when they become enabled -
[FIX] Do not call
postInitialize
when scripts get disabled ininitialize
-
[FIX] Made skybox not cullable
-
[FIX] Typos in comments
v0.216.5
- Added
pc.Entity#destroy
event - Updated docs for
pc.GraphNode#find
- [FIX] Set parent to null for all child entities when the parent is destroyed
- [FIX] Remove
insert
event handler from element component when the component is removed - [FIX] Clear all event handlers from an entity when it's destroyed
v0.216.4
v0.216.3
v0.216.2
v0.216.1
v0.216.0
- Added intensity value to font data to boost value read from SDF
- Added mouse and touch input handling for element components
- Better API docs for
pc.Entity#addComponent
- Support different font atlas parameters
- Added
pc.ElementComponent#canvasCorners
- Added docs for ScreenComponent, ScreenComponentSystem, ElementComponent, ElementComponentSystem, and Font
- Ignore color and opacity when a material is set
- Image elements can now work without a texture if you just want to show color / opacity
- [BREAKING] Removed pc.ElementComponent#canvasPosition - use midpoint of canvasCorners[0] and canvasCorners[2] instead.
- [FIX] Various fixes when using element component split anchors
- [FIX] Element component size not being calculated after screen is set for the first time
- [FIX] Element
worldCorners
/screenCorners
optimizations and fixes - [FIX] Calculate text element width and height correctly using font bounding box
- [FIX] Pre-calculate font extents instead of doing it per-char in the string
- [FIX] Element sorting bugs
- [FIX] Fix flipped normal on image elements
- [FIX] Disable shadows on image and text elements
- [FIX] Fix browser color-correcting images
v0.215.0
-
Simplify GraphNode.getWorldTransform
-
Simplify and optimize GraphNode.syncHierarchy
-
GraphNode.sync is now called from 5 to 1000+ times less due to dirtify caching
-
Performance of retrieving world transformations: getPosition, getRotation, getEulerAngles, etc. is much faster now, especially if no ancestor was transformed during the frame
-
Changed pc.createCylinder opts.baseRadius to opts.radius (old way still works)
-
Optimize morphing init time
-
[FIX] Typo in comment
-
[BREAKING] If you are using the tween library from https://github.com/playcanvas/playcanvas-tween/blob/master/tween.js make sure to get the latest file from the repository.
v0.214.0
[ADDED] Support for scale compensation. Enabling pc.GraphNode#scaleCompensation
prevents scale from propagating down the hierarchy from that node.
[FIX] Various morph target fixes.
[FIX] Correctly disable attributes on destroying vertex buffers.
[FIX] Require normals if only a heightmap is specified on a pc.StandardMaterial
.
[FIX] Fix draw order of elements in the picker.
[FIX] Fix issues with sounds not being resumed from the same point after being paused.