Capture Screen with getUserMedia, works but texture colors wrong

I made a quick html non-mobile test page here >
Click “Pick Screen”, select “Entire Screen”.
Screen captured and applied to on a PlaneGeometry via VideoTexture. Latest ThreeJS.
It seem wrong the colorspace, or gamma?.

Same behiavour on:

  • Windows, Chrome 123
  • macOS, Chrome 123
  • macOS, Safari

I tested changing renderer.gammaFactor or texture.format or texture.encoding without success…

Any idea? Thanks.

renderer.outputColorSpace = THREE.LinearSRGBColorSpace;
1 Like