Skip to content

Three.js/WebGL content missing in rendered video (v0.6.x only, v0.5.5 works) #1260

@Guomingze

Description

@Guomingze

Describe the bug

Three.js backgrounds render correctly in hyperframes preview but appear as black/transparent in the MP4 output from hyperframes render. Downgrading to hyperframes@0.5.5 produces correct output.

Link to reproduction

My project contains sensitive content, so I cannot share the full repo publicly. I can create a minimal reproduction project if needed.

Steps to reproduce

  1. Create a composition with a Three.js background (standard pattern: <template> + setTimeout + GSAP onUpdate driving renderer.render())
  2. Run npx hyperframes preview — Three.js shows correctly ✅
  3. Run npx hyperframes render — Three.js is missing, background is black ❌
  4. Run npx hyperframes@0.5.5 render — Three.js shows correctly ✅

Expected behavior

v0.6.x rendered MP4 should include the Three.js/WebGL content, matching the preview.

Actual behavior

The Three.js area in the rendered output is completely black/transparent — the WebGL layer is not captured by the screenshot pipeline.

Environment

Run `npx hyperframes doctor` output:
- Version: 0.6.80 (broken), 0.5.5 (works)
- Platform: macOS darwin arm64
- Browser: Chrome headless + SwiftShader
- Three.js: 0.128.0

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions