From c516c4b94710f60732bd7f2edf48b9a6832fedcb Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 2 Nov 2024 12:55:51 +0100 Subject: Fix line flickering in ancestral spade solver --- .../assets/minecraft/shaders/core/firmament_rendertype_lines.vsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/resources/assets/minecraft/shaders') diff --git a/src/main/resources/assets/minecraft/shaders/core/firmament_rendertype_lines.vsh b/src/main/resources/assets/minecraft/shaders/core/firmament_rendertype_lines.vsh index 35892be..b2d0f99 100644 --- a/src/main/resources/assets/minecraft/shaders/core/firmament_rendertype_lines.vsh +++ b/src/main/resources/assets/minecraft/shaders/core/firmament_rendertype_lines.vsh @@ -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; -- cgit