skinview3d
========
[](https://github.com/bs-community/skinview3d/actions?query=workflow:CI)
[](https://www.npmjs.com/package/skinview3d)
[](https://github.com/bs-community/skinview3d/blob/master/LICENSE)
[](https://gitter.im/skinview3d/Lobby)
Three.js powered Minecraft skin viewer.
# Features
* 1.8 Skins
* HD Skins
* Capes
* Elytras
* Slim Arms
* Automatic model detection (Slim / Default)
# Usage
[Example of using skinview3d](https://bs-community.github.io/skinview3d/)
```html
```
## Anti-aliasing
skinview3d supports FXAA (fast approximate anti-aliasing).
To enable it, you need to replace `SkinViewer` with `FXAASkinViewer`.
It's recommended to use an opaque background when FXAA is enabled,
as transparent background may look buggy.
```javascript
let skinViewer = new skinview3d.FXAASkinViewer({
// we do not use transparent background, so disable alpha to improve performance
alpha: false,
...
});
// set the background color
skinViewer.renderer.setClearColor(0x5a76f3);
```
# Build
`npm run build`