question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Screenshot created in 'perspective' projection mode is darker than expected

See original GitHub issue

Description: Using A-Frame’s built-in keyboard activated screenshot the output of perspective screenshots is darker than expected. It is also darker than equirectangular screenshots from the same scene.

To reproduce:

Suggested fix:

  • Note that equirectangular projection uses sRGBEncoding encoding (link)
  • I think you can insert encoding: THREE.sRGBEncoding, before line 93

Normal ticket questions:

  • A-Frame Version: 1.1.0
  • Platform / Device: Mac OS Chrome Desktop
  • Reproducible Code Snippet or URL: See above

Images for comparison screenshot--1615104581133 screenshot--1615104250109

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kfarrcommented, Mar 8, 2021

Yes can do as soon as I fix this which is blocking upgrade to latest a-frame on my project: https://github.com/supermedium/superframe/issues/290

0reactions
Tim-Laeufercommented, Jul 8, 2022

In Version 1.3.0 I get this bug too. In the following pictures there is a clear color difference. I’m not sure if it may be the same problem.

screenshot-1657290602100

image

In version 1.2.0 this error does not occur: image

Read more comments on GitHub >

github_iconTop Results From Across the Web

All my screenshots are dark? - iPhone - Apple Discussions
Every screen shot I take turns out super dark, like the brightness is turned all the way down or there's a dark grey...
Read more >
Screenshots from multiple Xservers - Unix Stack Exchange
So when you run a delayed scrot with one $DISPLAY and switch to a different one before it executes its $DISPLAY goes dark....
Read more >
Getting a Good Scan - Lightform Guide
Solution: Move to a darker or shaded environment if it is too bright. Adjust brightness in Scan Properties for dark environments. Occlusions: scenes...
Read more >
Rift Core's Decal System - Stray Pixels
Create a normal Unity projector with the same position, rotation, and orthographic size ... The projected decal is darker than we expected.
Read more >
Image Processing with Python - Data Carpentry
That means, that in an image, where the minimum is 0.25 and the maximum is 0.75, those values will be mapped to black...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found