Add WebM (VP9+alpha) VideoTexture ghost billboards with GIF/WebP fallback

- Detect VP9-alpha WebM support once at load; iOS Safari falls back to <img>
- addGhost prefers data.webm via THREE.VideoTexture (browser-decoded, no
  per-frame needsUpdate pump) when supported
- On video error, gracefully swap the billboard to the GIF/image texture
- Pause + release ghost <video> elements on capture and on hunt teardown to
  avoid leaking decoders
This commit is contained in:
2026-06-18 13:15:54 +10:00
parent 00cd1696c6
commit ec4442d4ce
+1 -600
View File
File diff suppressed because one or more lines are too long