What's new
- Added support for Vertex Array Objects
- Apply freeze to some math constants
- Only invoke glTF buffer and texture loadAsync callbacks on external URIs
- Preprocess GLSL chunks to make them smaller
- Align glTF texture V coordinates with the rest of PlayCanvas engine
- Cleaned up the glTF loading code and normals generation
- Load glTF scenes correctly, instead of loading all non-parented nodes
- Create fewer unnecessary glTF skinning bones
- Updated the anim state graph to latest schema
- Moved the PlayCanvas glTF Viewer into its own playcanvas-viewer repo
Bug Fixes
- Prevent shader compile failures from spamming the console (@Maksims)
- Removed some shader-related circular code dependencies
- Fixed screen space particle rotation
- Fixed various cubemap related issues
- Fixed docs for
pc.SoundComponent#resume
,stop
,pc.createMesh
andpc.Mesh#getIndices
- Fixed texture based skinning on Safari
- Deprecated and removed
type
function andpc.makeArray