playcanvas / playcanvas/engine

Screenshot captured from camera with bloom effect makes any UI disappear

Open
#3,735 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: graphics
Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

I was playing with the Capturing a screenshot tutorial and I noticed that if the camera used for the screenshot has a post-effect like bloom, any UI will disappear.

You can check it on this project.

Steps to Reproduce
  1. Click on Play you will see two buttons;
  2. The left will enable and disable the bloom effect for all the cameras in scene;
  3. The right will create the screenshot;
  4. If you disable the bloom the UI will be visible;
  5. If you enable the bloom the UI disappears.

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

Start with the Capturing a screenshot tutorial and reproduce the issue in the linked PlayCanvas project, comparing screenshots with bloom enabled and disabled. Trace the camera screenshot and post-effect rendering paths; done means the UI remains visible in screenshots when bloom is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
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.