What's New
- Add
TextMesh
- a script that generates 3D mesh-based text from TTF fonts (#2909) - Make area lights API public (#2977)
- Make
AnimComponent
API public and add examples: 1D blend trees, 2D cartesian blend trees, directional blend trees, component property animation, character locomotion (#2714) - Make
RenderComponent
API public (#2943) - Add
RenderComponent
engine examples: render assets, baked lighting (#2595) - Add video texture example (#2733) (Thanks @LeXXik!)
- Add 'JointComponent` (API is still private) - a generic 6 degrees of freedom physics constraint (#2095)
- Add division and scalar ops to
Vec2
,Vec3
andVec4
classes (#2946) - Scene data caching API (#2623)
- HDR image file parser (#2973)
- Shadow culling and rendering refactor (#2936)
- Private API
Application#renderDepthTexture
to display the depth buffer on the screen (#2992) - Private API
Application#renderWireSphere
(#2961) - Small refactor of
Application#renderWireCube
(#2954) pc.createMesh
reimplemented usingMesh
API (#2966)
Bug Fixes
- Background color change in positional example (#2996)
- Improved compatibility with older projects that use a render target on a layer (#2991)
- Support for
EXT_color_buffer_half_float
which fixes texture morph targets on iOS WebGL 2 (#2988) - Fixes gamepad crash with
GamePads#wasReleased
(#2938) - Simplified engine cubemap loading to use new loader script (#2987)
- Anim transition to END state fix (#2985)
- Print a console error if a char is missing in the font (#2984)
- Simplified loading of multiple assets in engine examples (#2978)
- Update NPM dependencies (#2983)
- Allow CJK characters to be treated like words when laying out lines of text (#2980)
- Normalize text to work correctly with bidirectional (#2979)
- Removed no longer used area lights LUT (#2976)
- Small code order changes to fix shadowmap camera setup (#2975)
- Camera stack does not propagate to cameras with different viewport (#2939)
- Fix
GlbParser
for mesh without positions (#2965) - Remove unused occurrences
import
andvar
(#2955) - Basis texture load should error if the Basis module isn't present (#2914)
RenderComponent
is sharing and properly releasing skin instances (#2912)- Fix to clone functionality of Entity with
RenderComponent
(#2950) Mat4#getEulerAngles
should return[0, 0, 0]
if any scale component is0
(#2933) (Thanks @LeXXik!)- Fixed typo in
path.getBasename
docs (#2934) - Prevent rigid body from being removed from the dynamics world twice (#2931) (Thanks @LeXXik!)
AnimComponent
- SyncBlendTree
animation durations (#2898)- Docs - fixed type on
CollisionComponent#asset
as it can be of typenumber
orAsset
(#2915) - Remove
index.d.ts
frompackage.json
file list