Closed vorg closed 4 years ago
It actually wasn't bug but more of a regression introduced in pex-renderer's glTF loader
https://github.com/pex-gl/pex-renderer/blob/master/loaders/glTF.js#L436
geometryProps = {
...geometryProps,
indices: {
buffer: indicesAccessor._bufferView._indexBuffer,
offset: indicesAccessor.byteOffset,
type: indicesAccessor.componentType,
count: indicesAccessor.count
}
}
Caused by https://github.com/pex-gl/pex-context/blob/master/index.js#L912
should be