idle mode
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { MeshStandardMaterial, Color, Vector3 } from "three";
|
||||
import { MeshStandardMaterial, Color, Vector3, DoubleSide } from "three";
|
||||
import { Text } from "troika-three-text";
|
||||
import { assignParams } from "@/lib/MeshUtils";
|
||||
|
||||
@@ -24,6 +24,7 @@ class TextObject {
|
||||
let m = new MeshStandardMaterial({
|
||||
roughness: .73,
|
||||
metalness: .37,
|
||||
side: DoubleSide
|
||||
});
|
||||
txt.material = m;
|
||||
txt.sync();
|
||||
|
||||
Reference in New Issue
Block a user