fix edge-fill filter for VL reprojection with VOXY enabled

This commit is contained in:
Xonk
2025-12-29 21:48:53 -05:00
parent 6cddbb53b6
commit a7306c9f18
+3 -3
View File
@@ -407,12 +407,12 @@ void main() {
float _far = far*4.0;
if (depth >= 1.0) {
depth = DH_depth1;
_near = dhNearPlane;
_far = dhFarPlane;
_near = LOD_NEARPLANE;
_far = LOD_FARPLANE;
}
depth = linearizeDepthFast(depth, _near, _far);
depth = depth / dhFarPlane;
depth = depth / LOD_FARPLANE;
if(depth < 1.0){
gl_FragData[2] = vec4(vec3(0.0), depth * depth * 65000.0);