smart shadow updates

This commit is contained in:
tresabhi committed 2026-11-30 22:42:12 -06:00
1 parent 3078dfeb10
commit a3e7908cd2
11 files changed
+110 -15

No files matched your search

@@ -1,4 +1,5 @@
import { invalidate, useFrame } from "@react-three/fiber";
import { sceneChangeEvent } from "../core/three/sceneChange";
import type { Skin } from "./useSkin";
export function useSkinAnimation(skins: Skin[]) {
@@ -8,6 +9,7 @@ export function useSkinAnimation(skins: Skin[]) {
mixer.update(delta);
invalidate();
sceneChangeEvent.dispatch();
}
});
}