|
@@ -57369,7 +57369,7 @@
|
|
|
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;
|
|
@@ -95783,7 +95783,7 @@ ENDSEC
|
|
|
}else{ */
|
|
|
gl_FragDepthEXT = mix(depth0.y,depth1.y,progress);
|
|
|
//}
|
|
|
- gl_FragDepthEXT = min(1.0, gl_FragDepthEXT); //防止部分手机出现黑块。ios 16 。 因为我给的超远值超出范围
|
|
|
+ gl_FragDepthEXT = clamp(gl_FragDepthEXT, 0.0, 1.0); //防止部分手机出现黑块。ios 16 。 因为我给的超远值超出范围
|
|
|
|
|
|
|
|
|
|