Video texture with colors and quality wrong

Hello, I configured video texture follow the official example but the video shows wrong.
I don’t know if I forgetting something.


Here there is a codesandbox with the example where show html video and texture plane.

I found the problem. This may help someone. I had to change

  // texture.format = THREE.RGBFormat;
  texture.encoding = THREE.sRGBEncoding

because I’m using

  renderer.gammaFactor = 2.2;
  renderer.gammaOutput = true;
1 Like

When upgrading three.js, you might want to remove both lines and replace them with:

renderer.outputEncoding = THREE.sRGBEncoding;
1 Like

okay, thank you.