White lines crossing a cube

lines on render cube issue illustrated

I got this while trying to map a cube to Three.js using THREE.MeshBasicMaterial () and the loaded texture.

This is normal? How can i fix this?

+6
source share
1 answer

Set the overdraw:true option.

 var material = new THREE.MeshBasicMaterial( { map: texture, overdraw: true } ); 
+6
source

Source: https://habr.com/ru/post/908389/


All Articles