Skip to content

Commit

Permalink
Don't flip Y since Vulkan uses upper left origin
Browse files Browse the repository at this point in the history
  • Loading branch information
errissa committed Dec 28, 2023
1 parent 37ad263 commit 836ed84
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cpp/open3d/visualization/gui/Materials/img_blit.mat
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 836ed84

Please sign in to comment.