From 836ed8417892c11bfa69bccfdd9a507ec34a6b39 Mon Sep 17 00:00:00 2001 From: Rene Sepulveda Date: Wed, 27 Dec 2023 23:08:24 -0500 Subject: [PATCH] Don't flip Y since Vulkan uses upper left origin --- cpp/open3d/visualization/gui/Materials/img_blit.mat | 1 - 1 file changed, 1 deletion(-) diff --git a/cpp/open3d/visualization/gui/Materials/img_blit.mat b/cpp/open3d/visualization/gui/Materials/img_blit.mat index d112a184bde..341a5398554 100644 --- a/cpp/open3d/visualization/gui/Materials/img_blit.mat +++ b/cpp/open3d/visualization/gui/Materials/img_blit.mat @@ -20,7 +20,6 @@ fragment { void material(inout MaterialInputs material) { prepareMaterial(material); vec2 uv = getUV0(); - uv.y = 1.0 - uv.y; /* OpenGL spec 8.4.4.4 says that texture().a is 1.0 if there is no alpha channel, so this shader can handle both RGB and RGBA images */