From 55b4aebd1b4453c44c93e650e66a95555c5470e9 Mon Sep 17 00:00:00 2001 From: adrien Date: Mon, 12 Jun 2023 02:09:35 +0200 Subject: [PATCH] fix ghost color --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 9661e40..13a4b43 100644 --- a/app.js +++ b/app.js @@ -252,7 +252,7 @@ class GhostMaterial extends THREE.MeshBasicMaterial { constructor( color ) { super({ side: THREE.DoubleSide, - color: 0xffb8c5, + color: color, envMap: minoRenderTarget.texture, transparent: true, opacity: 0.4