3

I created a videoTexture using THREEJS but when displaying it, it seems as there are streaks on the video.

const video = document.getElementById('video');
const videoTexture = new THREE.VideoTexture(video)
videoTexture.encoding = THREE.sRGBEncoding;        
videoTexture.flipY = false;

I tried adding magFilter = THREE.LinearFilter;but it didn't change anything.

Here is the image of my video where we can see the streaks and here is my original image without the streaks showing

  • Looks like it’s getting squished. Maybe try changing the minFilter? – M - Jan 19 '22 at 17:13
  • 1
    @Marquizzo Thank you for your answer. I have tried using other minFilter but LinearFilter and NearestFilter are the only ones working, the other ones render only a black square, and it doesn't seem to solve my issue – Tiphaine Richard Jan 20 '22 at 13:39

0 Answers0