xzw 2 년 전
부모
커밋
127dc1d710
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;