Fix line flickering in ancestral spade solver

This commit is contained in:
Linnea Gräf
2024-11-02 12:55:51 +01:00
parent 8b410fbdf2
commit c516c4b947
3 changed files with 89 additions and 90 deletions

View File

@@ -37,7 +37,7 @@ void main() {
gl_Position = vec4(-2.0, -2.0, -2.0, 1.0);
return; // I don't care for these people
}
if (linePosStartBehind || linePosEndBehind) {
if ((linePosStartBehind || linePosEndBehind) && false) {
ndc1.z = 0.0;
ndc2.z = 0.0;
linePosStart.w = 1.0;