forked from bartvdbraak/blender
Revert commit with perspective depth offset, makes simple cases such as
loopcuts on cube have zfighting.
This commit is contained in:
parent
029bd44bbd
commit
e37373d96e
@ -1024,7 +1024,7 @@ void bglPolygonOffset(float viewdist, float dist)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* should be clipping value or so... */
|
/* should be clipping value or so... */
|
||||||
offs = 0.0001f * dist;
|
offs = 0.0005f * dist;
|
||||||
}
|
}
|
||||||
|
|
||||||
winmat[14] -= offs;
|
winmat[14] -= offs;
|
||||||
|
Loading…
Reference in New Issue
Block a user