diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index a3470268..f64093dc 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -8,12 +8,15 @@ import { Group, LoopOnce, LoopRepeat, + Material, Mesh, + MeshBasicMaterial, MeshStandardMaterial, PerspectiveCamera, PointLight, Quaternion, Scene, + ShaderMaterial, Vector3, SpotLight, WebGLRenderer @@ -82,7 +85,9 @@ export class RuntimeHost { private readonly orbitVisitorController = new OrbitVisitorNavigationController(); private readonly interactionSystem = new RuntimeInteractionSystem(); private readonly audioSystem = new RuntimeAudioSystem(this.scene, this.camera, null); - private readonly brushMeshes = new Map>(); + private readonly brushMeshes = new Map>(); + private volumeTime = 0; + private readonly volumeAnimatedMaterials: ShaderMaterial[] = []; private readonly localLightObjects = new Map(); private readonly modelRenderObjects = new Map(); private readonly materialTextureCache = new Map();