xzw hace 2 años
padre
commit
127dc1d710
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      libs/three.js/lines/LineMaterial.js

+ 1 - 1
libs/three.js/lines/LineMaterial.js

@@ -273,7 +273,7 @@ ShaderLib[ 'line' ] = {
 				offset *= lineWidth;
 
 				// adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ...
-				offset /= resolution.y * devicePixelRatio;
+				offset /= resolution.y;// * devicePixelRatio;
 
 				// select end
 				vec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd;