From ca002623b812bec505dc7a41202f8bf324310e78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 27 Jul 2024 14:23:39 -0500 Subject: [PATCH] feat: standard material --- .../Armor/components/SpacedArmorSceneComponent/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Armor/components/SpacedArmorSceneComponent/index.tsx b/src/components/Armor/components/SpacedArmorSceneComponent/index.tsx index 19ce63c9a..320d06830 100644 --- a/src/components/Armor/components/SpacedArmorSceneComponent/index.tsx +++ b/src/components/Armor/components/SpacedArmorSceneComponent/index.tsx @@ -5,6 +5,7 @@ import { Color, Intersection, MeshBasicMaterial, + MeshStandardMaterial, Object3D, Plane, Quaternion, @@ -406,7 +407,7 @@ export function SpacedArmorSceneComponent({ opacity = clamp(opacity, 0, 1); - const material = new MeshBasicMaterial({ + const material = new MeshStandardMaterial({ color, opacity, transparent: true,