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