Glb model loaded on scene
As the model moves slightly away from the camera, the material begins to distort and red stripes appear on the model.
I use CSM, setupMaterial does not solve the problem in any way
The camera is isometric, there is no such problem with shaderMaterial and there was not, as soon as I decided to use MeshStandartMaterial there was a problem with artifacts
this.renderer = new THREE.WebGLRenderer
({
canvas: canvasRef.current,
antialias: true
});
this.renderer.outputEncoding = THREE.sRGBEncoding;
this.renderer.setPixelRatio(window.devicePixelRatio);
this.renderer.setSize(window.innerWidth, window.innerHeight);
this.renderer.setClearColor(0x000000, 1);
this.renderer.shadowMap.enabled = true;
this.renderer.shadowMap.type = THREE.PCFSoftShadowMap;
this.camera = new PerspectiveCamera
(
40,
window.innerWidth / window.innerHeight,
1,
80
);
Hi!
Do you mind to share a pic of what happen?