When applying a texture to material, the texture then overlaps all the other objects in the scene. Be it video texture or simple image texture.
I am defining the mesh like this:
let planeMesh = new THREE.Mesh(
new THREE.PlaneGeometry(50, 50),
new THREE.MeshBasicMaterial({map: videoTexture})
);
I don’t want this to happen. What should I do?