Screenshot created in 'perspective' projection mode is darker than expected
See original GitHub issueDescription: 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:
- Go to https://kfarr.github.io/3dstreet/#https://streetmix.net/kfarr/3
- Press ctrl + alt + s
- Press ctrl + alt + shift + s
- Compare the resulting output
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
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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.
In version 1.2.0 this error does not occur: