diff --git a/ai_normal.vrm b/ai_normal.vrm new file mode 100644 index 000000000..2d2141027 Binary files /dev/null and b/ai_normal.vrm differ diff --git a/dist/vrma b/dist/vrma index b423bcb79..9cbfaefed 160000 --- a/dist/vrma +++ b/dist/vrma @@ -1 +1 @@ -Subproject commit b423bcb79dc14a098a9fed8f3cf4026353545e78 +Subproject commit 9cbfaefed6d33f8fd59471faec0470f1656b571c diff --git a/src/index.ts b/src/index.ts index 7a51db615..af3c33c04 100644 --- a/src/index.ts +++ b/src/index.ts @@ -242,7 +242,7 @@ window.addEventListener("DOMContentLoaded", () => { } let user_enable = 0; - let user_max = 2; + let user_max = 3; let anime_id; function user_s(){ if (user_enable >= user_max) { @@ -251,8 +251,6 @@ window.addEventListener("DOMContentLoaded", () => { console.log(user_enable); switch (user_enable) { case 0: - load("/vrma/ai_eya.vrm"); - scene.remove(currentVrm.scene); light.intensity = -0.8; renderer.setClearColor(0x000000); scene.remove(grid); @@ -266,7 +264,7 @@ window.addEventListener("DOMContentLoaded", () => { case 1: cancelAnimationFrame(anime_id); scene.add(grid); - load("/vrma/ai.vrm"); + load("/vrma/ai_normal.vrm"); scene.remove(currentVrm.scene); renderer.toneMapping = THREE.NeutralToneMapping; light.intensity = 1; @@ -274,6 +272,10 @@ window.addEventListener("DOMContentLoaded", () => { renderer.setClearColor(0xffffff); scene.fog = new Fog(0xffffff, 3, 20); break; + case 2: + load("/vrma/ai.vrm"); + scene.remove(currentVrm.scene); + break; } user_enable++;