examples: use lightblue background

This commit is contained in:
Haowei Wen 2020-08-23 23:29:40 +08:00
parent 8fbe59b155
commit a13daf4d9c
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
1 changed files with 4 additions and 1 deletions

View File

@ -375,7 +375,10 @@
}
function initializeViewer() {
skinViewer = new skinview3d.SkinViewer(document.getElementById("skin_container"));
skinViewer = new skinview3d.SkinViewer(document.getElementById("skin_container"), {
alpha: false
});
skinViewer.renderer.setClearColor(0x5a76f3);
oribitControl = skinview3d.createOrbitControls(skinViewer);
rotateAnimation = null;
primaryAnimation = null;