idle mode
This commit is contained in:
@@ -157,7 +157,7 @@ class MazeObject {
|
||||
};
|
||||
|
||||
this.load = async function(){
|
||||
let mazeAsset = await engine.load('/static/meshes/maze-reed.gltf');
|
||||
let mazeAsset = await engine.load('/static/meshes/quiz.gltf');
|
||||
['tunnel', 'wall', 'door', 'floor'].forEach(e => {
|
||||
o[e] = mazeAsset.scene.getObjectByName(e);
|
||||
//o[e].frustumCulled = false;
|
||||
|
||||
@@ -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