Skip to content

1.3.0

Latest
Compare
Choose a tag to compare
@pissang pissang released this 23 Jan 08:10
· 29 commits to master since this release

Features

  • Add clay.InstancedMesh. Usage:
var instancedMesh = new clay.InstancedMesh({
  geometry: geometry, material: material
});
for (var i = 0; i < 100; i++) {
    var instanceNode = new clay.Node();
    instanceNode.position.set(i - 50, 0, 0);
    instanceNode.update();
    instancedMesh.instances.push({ node: instanceNode });
}
scene.add(instancedMesh);

Enhancements

  • Support base64 decode of buffer in glTF loader.

  • Add transform decompose when creating OrbitControl

  • Better compatibility on weapp platform

Bugfixes

  • Fix skybox with orthographic camera

  • Fix uv repeat and uv offset in preZ pass and shadow pass.

fbx2gltf