Closed arunscbe closed 2 years ago
Hi please share your code
In your main.js, set:
const mat = new THREE.ShaderMaterial({
vertexShader: vertexShaderSource,
fragmentShader: fragmentShaderSource,
transparent: false,
//flatShading: false,
uniforms: {
samplerVideo:{ value: JeelizThreeHelper.get_threeVideoTexture() },
// videoTransformMat2: {value: spec.videoTransformMat2}
},
colorWrite: false
});
I close the issue since it is not an issue with Jeeliz FaceFilter but with your THREE.js code.
Hi, While updating the threejs library to R.142, the shadermaterial of the face model becoming black , transparency is not working properly, and have used 2 canvas approach , below image for reference.