diff --git a/src/components/InteractiveObjects/TextObject.js b/src/components/InteractiveObjects/TextObject.js index 838bb5f..f00d524 100644 --- a/src/components/InteractiveObjects/TextObject.js +++ b/src/components/InteractiveObjects/TextObject.js @@ -1,4 +1,4 @@ -import { MeshStandardMaterial, Color, Vector3, DoubleSide } from "three"; +import { MeshBasicMaterial, Color, Vector3, DoubleSide } from "three"; import { Text } from "troika-three-text"; import { assignParams } from "@/lib/MeshUtils"; @@ -21,9 +21,9 @@ class TextObject { //txt.outlineBlur = '50%'; txt.color = new Color(0x0); assignParams(txt, obj) - let m = new MeshStandardMaterial({ - roughness: .73, - metalness: .37, + let m = new MeshBasicMaterial({ + // roughness: .73, + // metalness: .37, side: DoubleSide }); txt.material = m;