|
|
@@ -21495,7 +21495,7 @@ class Line2NodeMaterial extends NodeMaterial {
|
|
|
offset.assign( offset.mul( materialLineWidth ) );
|
|
|
|
|
|
// adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ...
|
|
|
- offset.assign( offset.div( viewport.w ) );
|
|
|
+ offset.assign( offset.div( viewport.w.div( screenDPR ) ) );
|
|
|
|
|
|
// select end
|
|
|
clip.assign( positionGeometry.y.lessThan( 0.5 ).select( clipStart, clipEnd ) );
|