Slightly different output of Three.js canvas screenshot in headed vs headless mode #20837
Answered
by
mikatalk
mikatalk
asked this question in
Component Testing
-
As the title mentions, there seems to be a very small difference in brightness when taking a screenshot of a webgl rendered canvas, in headed vs headless mode. I created a project on Github to replicate the issue using one of the three.js examples.
The two files output: It's easier to overlap them back and forth to see the small difference. Is it a know issue or did I miss a setting? Is it even possible to get a perfectly matching output? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
mikatalk
Mar 31, 2022
Replies: 1 comment
-
Solved it by using the Chrome flag |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mikatalk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved it by using the Chrome flag
--use-gl=angle