aframevr / aframevr/aframe

Screenshots blank when taken in post-processing example

Open
#5,677 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
17.6k
Forks
4.4k
PR merge metrics
No merged PRs in 30d

Description

First, AMAZING work especially on postprocessing in 1.7.0 - huge fan and so grateful.

Screenshots come out blank when I use this code, and I was able to confirm on the postprocessing example: https://aframe.io/aframe/examples/showcase/post-processing/ that this happens there too.

document.querySelector('a-scene').components.screenshot.capture('equirectangular');

(using code from https://aframe.io/docs/1.7.0/components/screenshot.html#methods)

The following image results (and same for perspective screenshots):

Image

Is there an order of render change or something to do with postprocessing? The other showcase examples (in the 1.7.0 blog post) do not have this issue; they render normally.

Thank you!!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the blank capture in the post-processing showcase, using the screenshot component entry point and the documented equirectangular and perspective capture methods. Trace the render order around post-processing, then verify that both screenshot types produce visible images rather than blank results.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, three.js
Domain
computer-graphics, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.